1
0
forked from extern/nix-config
Commit Graph

1583 Commits

Author SHA1 Message Date
Donovan Glover
bfc1ed42c6
chore: Run nixfmt 2023-06-03 20:32:06 -04:00
Donovan Glover
fb6d5828cf
hyprland: Animate manual resizes 2023-06-03 19:55:26 -04:00
Donovan Glover
d0f2f70d29
waybar: Fix calendar for 0.9.18 2023-06-03 19:42:06 -04:00
Donovan Glover
8a80c37aa8
Make wine container support display output
This *works*, and I was surprised that I needed to change little to
nothing at all.
2023-06-03 15:36:38 -04:00
Donovan Glover
6985903631
Add base wine container
I figured out how to get wine working on Nix, and it works surprisingly
well, however I'd like to avoid programs from writing wherever they want
and don't want to rely on a solution like firejail.

As it turns out, systemd-nspawn containers enable us to run wine applications
in a reasonably private container without access to neither the files of the
host nor its internet connection.
2023-06-03 15:29:50 -04:00
Donovan Glover
a22b9355dd
nix: Use variables
This should make things easier to change and maintain over time, with
the ultimate goal of making it easy to provide example configurations
that can be expanded upon.
2023-06-03 13:51:43 -04:00
Donovan Glover
d400ad5986
neovim: Don't save folds by default
It may be better to open files normally and have the option to manually
save/load views for predictability.
2023-06-03 13:13:07 -04:00
Donovan Glover
ed05522acd
neovim: Add fold support
This should make dealing with large files slightly easier.
2023-06-03 13:05:21 -04:00
Donovan Glover
3456ad98d4
qutebrowser: Use a blank start/default page
Might change this in the future.
2023-06-03 12:19:28 -04:00
Donovan Glover
aaa0fe82cd
mullvad: Add port forwarding example
This was my working solution at forwarding ports from a container to the
host. Although mullvad no longer supports port forwarding, this example
can still be used to forward e.g. web services from containers to the
host.
2023-06-03 11:50:21 -04:00
Donovan Glover
b8c79f1ca8
mpv: Add mpris 2023-06-03 11:34:45 -04:00
Donovan Glover
fd66253882
stylix: Decrease terminal opacity 2023-06-03 11:34:22 -04:00
Donovan Glover
e50016cd7b
Enable host virtualization
Unfortunately, libvirt / QEMU / KVM / virt-manager etc. aren't quite
there yet when it comes to virtualization of non-Linux guests. Since I
do not have the equipment necessary to pass through a second GPU, it's
much easier to rely on the current dominance that VMware has in the
field.
2023-06-03 10:58:53 -04:00
Donovan Glover
d233e33a76
Remove river.sh
As alluded to in a previous commit, this was so I wouldn't forget about
the init script I made for river.
2023-06-03 10:56:14 -04:00
Donovan Glover
cad75efb46
hyprland: Add polkit_gnome
This is necessary so GUI applications won't seem broken when they're
unable to show an authentication prompt.
2023-06-03 10:54:37 -04:00
Donovan Glover
73e5e99ccd
pipewire: Add pulseaudio
This is necessary so we can load the module-switch-on-connect module,
which makes switching between USB audio devices automatic among other
things.
2023-06-03 10:52:58 -04:00
Donovan Glover
5a7816aec8
thunar: Add glib
Unfortunately I don't remember why glib is needed but it may have been
mounting related.
2023-06-03 10:34:38 -04:00
Donovan Glover
4fdcb64b9c
Add more packages
Note that although it's now easier than ever to organize packages, the
current implementation scatters things around a bit still.
2023-06-02 19:31:38 -04:00
Donovan Glover
dc0b9d241a
nix: Remove old import 2023-06-02 19:11:27 -04:00
Donovan Glover
a0bc09bf49
neovim: Set linebreak
Should make things easier to read overall.
2023-06-02 19:10:49 -04:00
Donovan Glover
dec10648c8
Add old river init script
This is so I remember how to initialize river if I want to use it again,
although I currently have no plans to do so.
2023-06-02 19:02:31 -04:00
Donovan Glover
e4f18c2281
Add old gnome scripts
This is mainly so I remember the changes I made to GNOME.
2023-06-02 19:02:11 -04:00
Donovan Glover
3ed7f2a585
mpd: Update config 2023-06-02 17:42:16 -04:00
Donovan Glover
e6e4b56a89
Use correct locale for xdg-user-dirs 2023-06-02 17:39:51 -04:00
Donovan Glover
5748026bab
meta: Add libreoffice
Unfortunately, some files may be in .docx or similar forms.
2023-06-02 10:03:30 -04:00
Donovan Glover
10524724aa
fish: Use tput reset by default
This fixes an issue where kitty would occasionally show two cursors at
once.
2023-06-02 09:34:22 -04:00
Donovan Glover
87b04e212b
fonts: Add KanjiStrokeOrders 2023-06-02 09:33:31 -04:00
Donovan Glover
aca33b1aff
go-thumbnailer: Reference binary from nix store
This should guarantee reproducibility since the thumbnailer won't be
dependent on the $PATH of the host.
2023-06-02 09:31:52 -04:00
Donovan Glover
d873351ada
nix: Simplify 2023-06-02 09:30:42 -04:00
Donovan Glover
968e26da53
go-thumbnailer: Update inputs and sha256
This is a separate commit so I don't forget what I changed in order to
get go-thumbnailer to work.
2023-06-02 09:29:18 -04:00
Donovan Glover
b64cb3183b
meta: Add go-thumbnailer
It was surprisingly easy to package go-thumbnailer with nix, and it may
be a fun side project to make a pull request for nixpkgs.
2023-06-02 09:25:53 -04:00
Donovan Glover
4b3e662b3f
meta: Remove litemdview
Not needed with mdcat and other solutions for quick viewing.
2023-06-01 16:53:15 -04:00
Donovan Glover
3950731e82
thunar: Add gnome-keyring
This prevents thunar from showing an error message when mounting an
encrypted partition.
2023-06-01 15:17:09 -04:00
Donovan Glover
cc5e8f5f71
kitty: Increase cell height
This should make long form text easier to read in kitty without
sacrificing too much vertical screen estate.
2023-06-01 15:03:22 -04:00
Donovan Glover
5da221830d
ncmpcpp: Add on-song-change script
Now the cover image and artist + title shows on song change.
2023-06-01 15:02:57 -04:00
Donovan Glover
c9bcd57404
Add rar container
This puts rar in a rootless container with no access to the network of
the host.
2023-05-31 15:15:45 -04:00
Donovan Glover
f073819dc8
waybar: Add back hyprland postPatch
This is still necessary to make workspace switching work properly.
2023-05-31 11:50:46 -04:00
Donovan Glover
c946307c67
waybar: Update to 0.9.18
Note that with the latest version of waybar with the experimental flag
enabled and the latest version of hyprland, patching waybar *shouldn't*
be necessary.
2023-05-31 11:35:54 -04:00
Donovan Glover
26c390dd69
chore: Update flake inputs 2023-05-31 11:33:18 -04:00
Donovan Glover
f8f54d189c
joshuto: Increase preview size to 10 GB 2023-05-31 10:48:14 -04:00
Donovan Glover
f543a935c9
neovim: Add neoformat 2023-05-31 10:43:28 -04:00
Donovan Glover
cb1333e750
hyprland: Init swww with default background 2023-05-31 10:43:07 -04:00
Donovan Glover
14a8c2e561
neovim: Focus nvim-tree instead of toggling it 2023-05-31 10:41:38 -04:00
Donovan Glover
968ac924c8
Add hexyl 2023-05-31 10:41:00 -04:00
Donovan Glover
508450dd49
librewolf: Show sidebar on right by default
This allows the sidebar to be used as a reference while the more
important content is shown on the left side.
2023-05-31 10:40:11 -04:00
Donovan Glover
430de18948
librewolf: Enable letterboxing 2023-05-31 10:39:55 -04:00
Donovan Glover
66186d7027
hyprland: Limit orientations
The center orientation is broken when using a vertical waybar.
Additionally, using only two orientations for horizontal and vertical
workflows guarantees that ratio modifiers behave as expected. This works
since most applications have a focus point near the top left of the
window.
2023-05-31 10:37:02 -04:00
Donovan Glover
833d0e4322
hyprland: Don't show special by default 2023-05-31 10:35:51 -04:00
Donovan Glover
583b56f88f
dev: Add go 2023-05-31 10:35:04 -04:00
Donovan Glover
6f01e78e2b
swaylock: Increase blur 2023-05-31 10:34:43 -04:00