Commit Graph

368 Commits

Author SHA1 Message Date
Donovan Glover
9b4d9c8bf5
meta: Make specializations a nixosModule
Now it's possible to use the specializations in arbitrary configs. Note
that specializations do slow things down a bit so they may be disabled
by default in the future.
2024-04-01 06:27:08 -04:00
Donovan Glover
24c4badf39
meta: Make containers a nixosModule
Makes it easier to use the containers in other configs.
2024-04-01 06:24:52 -04:00
Donovan Glover
12464e8b65
chore: Improve formatting
No need to write stylix so many times.
2024-04-01 06:17:02 -04:00
Donovan Glover
44422516d4
feat(nix): Automatically import module outputs
This drastically simplifies things since we no longer have to worry
about adding and removing files from a default.nix.
2024-03-31 19:23:12 -04:00
Donovan Glover
94a43d1888
fonts: Fix fontconfig mono font
Might remove this later since stylix is used for the fonts instead.
2024-03-31 15:35:14 -04:00
Donovan Glover
23049a3e99
meta: Switch from joshuto to yazi
After almost a year of using joshuto, I have decided to switch to yazi.

The latest joshuto update broke my image preview configuration, and it
didn't make sense trying to figure out the issue with yazi already
having built-in image support and more.

Other notable improvements from this change include:

- Simplified configuration since defaults no longer have to be
  re-declared
- Faster directory loading, especially for /nix/store/ and symlinks to
  /nix/store/
- Text files are more likely to show previews without manual
  configuration
- Videos now have working previews again, similar to ranger
2024-03-30 18:20:01 -04:00
Donovan Glover
6cab0f25a5
chore: Update packages
Dropped GUI programs I no longer use and added qdirstat as a cool
alternative to windirstat.
2024-03-30 16:44:28 -04:00
Donovan Glover
682e95ef1c
chore: Drop unused packages
I only used inkscape to convert svg to png with the following command:
`fd -e svg -x inkscape -w 512 -h 512 "{}" -o "{.}.png"`

gthumb was crashing and I'd rather not have to deal with a non-trivial
GUI program that crashes on launch.

nb and obsidian are cute but ultimately I found quartz to be better for
my use case.
2024-03-29 10:16:04 -04:00
Donovan Glover
e208178502
chore: Update packages
Got tired of manually updating the osu! hash each time so now
allowUnfree is being used for the time being.
2024-03-25 14:23:14 -04:00
Donovan Glover
488b7a61de
packages: Drop slade
Fixes an issue where slade was causing manual compiles among other
things.
2024-03-23 18:14:54 -04:00
Donovan Glover
0151098d47
chore: Update flake inputs
Notable changes include upgrading to Plasma 6 in the DE specialization
as well as updating the pqiv config to work with the latest home-manger
change.
2024-03-22 12:22:23 -04:00
Donovan Glover
6e23ae9c4c
chore: Update to latest nixos-unstable release
- Removed old hyprlang/hyprlock overlays that are now in nixos-unstable
- Replaced pnpm-shell-completion with the one upstream
- Changed old GPG option to new one
2024-03-17 00:20:04 -04:00
Donovan Glover
fa1650198f
chore: Drop unused packages
tui-journal was cool and although it could work, it's not really worth
it over taking advantage of what Logseq has to offer.
2024-03-09 11:42:19 -05:00
Donovan Glover
32e443fbcd
chore: Update flake inputs 2024-03-08 19:56:40 -05:00
Donovan Glover
c836aa7f79
dual-function-keys: Make left shift KEY_GRAVE
Fixes an issue where ` wouldn't work in neovim due to the escape key
being recognized as pressed.
2024-03-07 22:21:36 -05:00
Donovan Glover
e67230b282
meta: Switch from swaylock to hyprlock
hyprlock matches the other animations of hyprland a bit better and is
overall more pleasant to work with.
2024-03-07 22:19:02 -05:00
Donovan Glover
093f085630
udev: Disable internal keyboard for now
Necessary since the current keyboard has too many broken keys.
2024-03-07 21:55:54 -05:00
Donovan Glover
48f9d1a87f
virtualization: Decrease memory size from 8GB to 4GB 2024-03-05 19:26:12 -05:00
Donovan Glover
f7df16b6a1
chore: Update to latest nixos-unstable release 2024-03-05 19:17:23 -05:00
Donovan Glover
1d448a5289
zram: Increase memory percent to 100%
See https://github.com/NixOS/nixpkgs/issues/103106
2024-03-05 19:10:25 -05:00
Donovan Glover
d5c7fe6083
meta: Drop tmpfs for /tmp
Less useful when running on machines with lower amounts of RAM.
2024-03-04 16:22:11 -05:00
Donovan Glover
6d047a9567
chore: Update to latest nixos-unstable-small release
cargo-audit has been dropped to fix an issue with libgit2, which should
be fixed in 1-2 weeks or so. Additionally, nvim-base16 has been renamed
to base16-nvim, which is currently only recognized on -small.
2024-02-19 08:28:34 -05:00
Donovan Glover
89722f8d47
packages: Add mgitstatus
Also adds an abbreviation for mgitstatus.
2024-02-18 23:56:42 -05:00
Donovan Glover
1464bd85bc
fish: Add abbreviation for cargo test 2024-02-18 23:56:11 -05:00
Donovan Glover
77bbe4ff61
fish: Add abbreviations for pnpm 2024-02-15 23:55:01 -05:00
Donovan Glover
3d65f10068
fish: Don't limit df to ext4
Important since I now use btrfs.
2024-02-08 22:55:45 -05:00
Donovan Glover
96ba7452fb
stylix: Make Aleo default serif font 2024-02-08 22:52:14 -05:00
Donovan Glover
56475023ed
pipewire: Drop low latency patch
This was actually causing audio crackling issues when playback rapidly
changed in wine.
2024-02-03 05:51:16 -05:00
Donovan Glover
2d703c8efd
chore: Update flake inputs 2024-01-31 07:30:28 -05:00
Donovan Glover
240a3e8355
virtualization: Disable containers
Not needed inside the VM.
2024-01-31 04:33:38 -05:00
Donovan Glover
81ec4473c2
fish: Remove yarn alias
Not needed since yarn now uses v3 by default.
2024-01-27 23:57:14 -05:00
Donovan Glover
68bcfce997
meta: Add postgres
Useful for testing purposes without having to spin up a docker
container.
2024-01-25 17:32:47 -05:00
Donovan Glover
c7f4111055
chore: Update to latest nixos-unstable release 2024-01-19 00:59:55 -05:00
Donovan Glover
bb3792d748
fcitx: Use wayland front-end for GTK
Fixes the warning notification shown on boot.
2024-01-13 00:39:29 -05:00
Donovan Glover
4a7d310d9f
docker: Drop podman
This fixes an issue where podman was causing NixOS virtual machines
(which depend on QEMU) to not start with the following error:

qemu-kvm: could not stat pidfile /run/user/1000/pulse/pid: No such file or directory
2024-01-13 00:31:31 -05:00
Donovan Glover
d9da12efe7
chore: Update packages
Trying out sqlcipher since it's supposed to be like SQLite but
encrypted.
2024-01-12 07:21:51 -05:00
Donovan Glover
864ed55261
docker: Add podman
This was my attempt at using Podman on NixOS. Although it worked and was
cool, Podman actually breaks audio for QEMU VMs and results in an error
message that returns 0 hits on search engines.
2024-01-12 04:18:39 -05:00
Donovan Glover
a070bb5531
virtualization: Enable resolvconf
Fixes network connectivity in the virtual machine. Necessary due to the
change to the Mullvad packaging that required resolvconf to be disabled
on the host.
2024-01-12 04:15:25 -05:00
Donovan Glover
78b7efb192
chore: Update packages 2024-01-05 19:09:04 -05:00
Donovan Glover
860708e232
chore: Update flake inputs
This shouldn't break anything.
2024-01-02 18:18:39 -05:00
Donovan Glover
d5fe4c2118
chore: Update flake inputs 2023-12-26 16:44:10 -05:00
Donovan Glover
8242938fc9
nix: Update version to 2.19.2
This fixes an issue where nixFlakes (the stable version of Nix) would
fail when running nixos-rebuild if a path contained non-ASCII
characters.
2023-12-14 23:49:04 -05:00
Donovan Glover
13dad50841
fish: Use fish shell when running nixpkgs-review
This makes things a lot nicer.
2023-12-13 05:43:57 -05:00
Donovan Glover
e16c8f1906
nix: Don't warn when git tree is dirty
I run `git status` frequently enough that I already know when the tree
is dirty. Additionally, the starship prompt shows the git status anyway.
2023-12-13 05:40:52 -05:00
Donovan Glover
5fb3f38f62
chore: Update flake inputs
Kernel version is now 6.1.67 to avoid the ext4 data corruption bug.

Additionally, typst-lsp had to be removed since it fails to build. No
solution has been posted in the GitHub issue yet.
2023-12-13 05:39:16 -05:00
Donovan Glover
c9e52534d2
chore: Update flake inputs
emmet-language-server is now in nixos-unstable.
2023-12-04 14:34:48 -05:00
Donovan Glover
1155978979
starship: Disable rust indicator
Not really necessary since I know when I'm working in a Rust project and
the version number isn't relevant in most cases.
2023-11-30 23:21:00 -05:00
Donovan Glover
f7a9dc27b8
starship: Disable bun indicator
Avoids making the prompt line too long.
2023-11-30 23:20:31 -05:00
Donovan Glover
7095056ebe
packages: Add satty 2023-11-30 23:04:29 -05:00
Donovan Glover
c7415ebe69
networking: Disable resolvconf
Fixes an issue where newer versions of the Mullvad module would cause
websites to not resolve.

See: https://discourse.nixos.org/t/connected-to-mullvadvpn-but-no-internet-connection/35803
2023-11-30 23:02:50 -05:00