Commit Graph

452 Commits

Author SHA1 Message Date
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
Donovan Glover
56da65f34a
chore: Update flake inputs 2023-11-30 19:14:43 -05:00
Donovan Glover
b77820ea25
starship: Simplify nix format
Useful for `use flake` in .envrc
2023-11-30 19:12:23 -05:00
Donovan Glover
5c2625e4e2
fish: Add alias for npm-check-updates
A good replacement for yarn upgrade-interactive.
2023-11-30 18:56:57 -05:00
Donovan Glover
157ec2b7a2
fish(eza): Don't quote directories with spaces
Not needed since icons are used.
2023-11-20 13:33:51 -05:00
Donovan Glover
ad9500925d
fish: Add nixpkgs-review abbreviation 2023-11-19 06:37:50 -05:00
Donovan Glover
9378fa8208
chore: Update packages 2023-11-18 14:54:19 -05:00
Donovan Glover
5046c0fa2e
stylix: Style cursor with new option 2023-11-18 14:52:48 -05:00
Donovan Glover
2553258bc3
fish: Add abbreviation for zathura 2023-11-14 10:37:30 -05:00
Donovan Glover
c115dd88ef
chore: Update to latest nixos-unstable release 2023-11-03 19:37:26 -04:00
Donovan Glover
6b9f547088
fish(tree): Ignore dist directory
Necessary for Nuxt projects. Use joshuto or ls when interested in seeing
ignored directories and tree for a quick overview of a project.
2023-10-31 11:41:38 -04:00
Donovan Glover
85766665f8
fish(tree): Ignore .vercel directory
Necessary for Next.js projects.
2023-10-31 11:40:03 -04:00
Donovan Glover
5ee4d32229
fish(tree): Ignore .wrangler directory
There's usually nothing in this folder except an empty tmp directory, so
it should be safe to ignore.
2023-10-31 11:38:24 -04:00
Donovan Glover
a59dbb56e7
chore: Update to latest nixos-unstable release
- cmus patch added to prevent build failure
- fzf patch removed since it's now in nixos-unstable
- visidata will be fixed in https://github.com/NixOS/nixpkgs/pull/264217
2023-10-31 10:55:29 -04:00
Donovan Glover
c8818cb104
fish(tree): Ignore .direnv directory 2023-10-30 20:26:26 -04:00
Donovan Glover
9cb52b29f9
fish: Add abbreviation for nix flake lock --update-input
Makes it possible to update single inputs instead of all inputs.
2023-10-29 15:13:14 -04:00
Donovan Glover
b18ccd3dfc
chore: Improve formatting 2023-10-29 15:11:57 -04:00
Donovan Glover
103c78ead1
feat: Add direnv
Makes it possible to cd into directories with nix flakes and
automatically have a development environment set up.
2023-10-25 13:46:14 -04:00
Donovan Glover
0577eb2dba
docker: Don't enable on boot
Docker significantly increases the boot time since it turns 4 seconds
into 5.5. This fixes that.
2023-10-25 13:29:20 -04:00
Donovan Glover
430656091c
chore: Update packages 2023-10-25 13:29:02 -04:00
Donovan Glover
5329f5bcf3
fish: Add nvd abbreviation
This makes it possible to see the updates between the current system
configuration and one built with nixos-rebuild build-vm.
2023-10-25 13:27:47 -04:00
Donovan Glover
d4100d0f1c
feat: Add back docker
Docker is actually useful for some things, and NixOS containers don't
replace pre-existing solutions with docker-compose files.
2023-10-15 11:24:54 -04:00
Donovan Glover
094c0c1092
chore: Update packages
Chromium is required for testing since qutebrowser exhibits some
irregular behaviors with things like fonts.
2023-10-10 18:25:05 -04:00
Donovan Glover
291e00f102
chore: Update flake inputs 2023-10-10 18:22:08 -04:00
Donovan Glover
998d574580
chore: Fix nix-collect-garbage abbreviation 2023-09-30 20:56:42 -04:00
Donovan Glover
90cdfa1bcd
fish: Add bun abbreviations 2023-09-27 12:33:26 -04:00
Donovan Glover
d3aa3bf65a
packages: Uncomment fixed package builds 2023-09-27 12:32:35 -04:00
Donovan Glover
964b6f7e9b
fish: Add git submodule abbreviations 2023-09-12 15:28:43 -04:00
Donovan Glover
7bd3302f51
fish(tree): Ignore zola themes directory 2023-09-12 15:28:21 -04:00
Donovan Glover
3187b2efcf
networking: Allow zola port 2023-09-12 15:21:19 -04:00
Donovan Glover
eb6189e51c
meta: Reference original sources for non-trivial code 2023-08-31 19:08:14 -04:00
Donovan Glover
db6d262864
fish: Add deno abbreviations 2023-08-31 16:17:36 -04:00
Donovan Glover
460b60bb9f
chore: Update packages 2023-08-31 12:39:37 -04:00
Donovan Glover
768ca2232c
feat: Replace hyprland-relative-workspace with hyprnome
This also has the advantage of fixing an issue where
hyprland-relative-workspace would prevent new workspaces from being
created in the previous direction when a special workspace was present.
2023-08-30 16:14:50 -04:00
Donovan Glover
a15fd23b9b
feat: Style cmus with stylix
Based on https://github.com/averms/base16-cmus
2023-08-29 21:00:15 -04:00
Donovan Glover
8df146e353
packages: Rename go-thumbnailer to thud 2023-08-19 22:16:43 -04:00
Donovan Glover
917b7d626a
fish(eza): Ignore .nuxt directory 2023-08-19 22:15:53 -04:00
Donovan Glover
b5d6e46fb8
fish: Enable GATSBY_TELEMETRY_DISABLED
This should get rid of the feedback prompts that Gatsby shows users.

See: https://www.gatsbyjs.com/docs/cli-feedback/
2023-08-16 13:56:00 -04:00
Donovan Glover
0fd3bc829b
fish(eza): Revert showing git status
Takes up too much space for me personally, especially when used with
--tree.
2023-08-11 15:28:43 -04:00
Donovan Glover
bc14409563
meta: Replace exa with eza
exa hasn't been updated in a few years and has noticeable bugs such as
columns not working when the terminal is large enough that multiple
columns can show.
2023-08-10 23:28:21 -04:00
Donovan Glover
b74d2e386f
packages: Remove visidata to fix build
See: https://github.com/NixOS/nixpkgs/issues/248181
2023-08-10 22:13:35 -04:00
Donovan Glover
f852b9b0c4
fish(exa): Ignore .cache directory 2023-08-10 20:37:41 -04:00
Donovan Glover
ade6fa196b
fish(exa): Show git status 2023-08-10 20:37:21 -04:00
Donovan Glover
3b282214fc
fish(abbreviations): Add yarn build/dev 2023-08-10 19:24:39 -04:00
Donovan Glover
61ace4f55a
fish(exa): Add icons 2023-08-09 11:47:06 -04:00
Donovan Glover
2c370d75d1
fish(tree): Ignore .next directory 2023-08-09 09:16:05 -04:00
Donovan Glover
10ccd698fa
fonts: Update options for latest unstable release 2023-08-08 15:49:47 -04:00
Donovan Glover
266c1d1c3f
packages: Temporarily remove memento to fix build
See: https://github.com/ripose-jp/Memento/issues/171
2023-08-08 15:47:43 -04:00
Donovan Glover
955ed07d33
fish: Remove old test abbreviation 2023-08-07 21:13:11 -04:00
Donovan Glover
794db6dbec
chore: Update packages 2023-08-07 21:12:34 -04:00
Donovan Glover
b3c95ed4f2
fish(abbreviations): Add cargo tree 2023-08-07 20:22:56 -04:00
Donovan Glover
ec07140d4a
fish: Add cargo add/remove --dev abbreviations 2023-08-06 16:50:05 -04:00
Donovan Glover
f2953fa6da
fish: Add git pull abbreviation 2023-08-06 16:49:41 -04:00
Donovan Glover
b0adf48673
fish: Add cargo add/remove --build abbreviations 2023-08-04 21:39:04 -04:00
Donovan Glover
937caf1642
fish: Add git rebase abbreviations 2023-08-04 21:38:38 -04:00
Donovan Glover
e2ba4026c5
fish: Simplify nixos-rebuild abbreviations 2023-08-03 12:35:54 -04:00
Donovan Glover
34b8a5efb5
fish(abbreviations): Add kitty @ set-background-opacity 2023-08-03 12:35:29 -04:00
Donovan Glover
1f19a71571
fish: Add cargo abbreviations 2023-08-03 12:34:48 -04:00
Donovan Glover
6447c0c30e
fish: Add nix abbreviations 2023-08-01 22:23:06 -04:00
Donovan Glover
9ed706c2a5
hyprland: Downgrade to v0.27.0
The white flash when starting hyprland is a deal breaker for me
personally and I'd rather not have to deal with it. Should hopefully be
fixed in a later release since it seems to be a wlroots issue.
2023-08-01 19:06:20 -04:00
Donovan Glover
d1a78a7a57
meta: Remove hyprbars
Although this was cute, there are simply too many bugs and other
inconveniences to be worth it. For example, the bar cannot be focused
when a workspace has a fullscreen application.
2023-08-01 19:04:43 -04:00
Donovan Glover
1688787677
meta: Make it easy to load hyprbars
Not sure why I couldn't do this in the hyprland or fish modules but I
couldn't, even after including hyprland-plugins.
2023-08-01 18:22:19 -04:00
Donovan Glover
a78cb283bf
packages: Add sakaya
Useful for running wine applications inside systemd-nspawn containers.
2023-08-01 16:28:31 -04:00
Donovan Glover
b84bad3806
meta: Add hyprbars
May or may not be useful for a more mouse-centric workflow.
2023-08-01 16:22:54 -04:00
Donovan Glover
ed11061d61
hyprland: Use latest commit
This was the only way I could get plugins to work reliably. Might look
into this in the future, but v0.27.2 also includes some changes not
present in v0.27.0.
2023-08-01 16:21:10 -04:00
Donovan Glover
dcea42f899
chore: Update packages 2023-08-01 12:31:14 -04:00
Donovan Glover
bf5ebed6c6
virtualization: Disable interception-tools inside vm
This fixes an issue where dual-function-keys would run on both the host
and the virtual machine, thus causing issues with the escape key.
2023-08-01 12:08:36 -04:00
Donovan Glover
38882bdc62
fish(abbreviations): Add git switch 2023-07-26 12:55:55 -04:00
Donovan Glover
ddc7d0a9dd
fish(abbreviations): Add git apply 2023-07-26 12:55:43 -04:00
Donovan Glover
28ba1ff805
hyprland: Replace dim settings with hyprdim
Now I no longer have to worry about manually toggling dim on and off.
2023-07-26 12:49:09 -04:00
Donovan Glover
72ec44155c
packages: Remove redundant pqiv
Not needed since pqiv is enabled by the pqiv module.
2023-07-26 12:44:19 -04:00
Donovan Glover
7747974e32
chore: Update packages 2023-07-23 15:40:00 -04:00
Donovan Glover
d2aa481be1
dual-function-keys: Use escape as KEY_GRAVE
Useful for keyboards that combine function keys with number keys.
2023-07-23 15:31:04 -04:00
Donovan Glover
ee19ba0b97
chore: Don't add polkit to environment
This isn't needed since the daemon is already running.
2023-07-23 09:01:01 -04:00
Donovan Glover
61cd0b77a2
fish: Add git cherry-pick -x abbreviation 2023-07-22 13:23:24 -04:00
Donovan Glover
8de3a2e4f2
git: Cherry pick with --strategy-option theirs
Makes things easier since resolving conflicts is no longer necessary.
2023-07-18 12:26:17 -04:00
Donovan Glover
380bf5983e
fish(abbreviations): Add git branch -D 2023-07-18 10:29:48 -04:00
Donovan Glover
6ff549d893
fish(abbreviations): Add git fetch 2023-07-18 10:12:10 -04:00
Donovan Glover
7200e95a80
fish: Make branch information more verbose
Also adds a gbr abbreviation to only show remote branches.
2023-07-18 09:08:01 -04:00
Donovan Glover
c46079d7cd
fish: Remove --all from git log abbreviation
Now it's possible to get the log of specific branches, particularly
useful for cherry picking.
2023-07-18 09:06:53 -04:00
Donovan Glover
a8c472a314
chore: Remove unnecessary comments 2023-07-18 07:19:49 -04:00
Donovan Glover
d67db4ec21
chore: Update packages 2023-07-15 18:57:17 -04:00
Donovan Glover
00a1c99987
networking: Allow srb2 port 2023-07-15 17:02:55 -04:00
Donovan Glover
24e4a3b9a3
fish: Add trash abbreviations 2023-07-15 12:42:12 -04:00
Donovan Glover
9c13e2fe41
fish(abbreviations): Add git cherry-pick 2023-07-11 08:02:34 -04:00
Donovan Glover
fb27622fb9
fish(abbreviations): Add git checkout --theirs 2023-07-11 08:02:02 -04:00
Donovan Glover
d9bbb2e267
virtualization: Mount home directory
This is convenient, although care should be taken to remove this mount
if you don't want your home directory inside of the virtual machine.
2023-07-11 07:46:28 -04:00
Donovan Glover
8fa673095e
meta: Move DE-specific config to specializations
Helps keep the modules directory specific to the main configuration and
not any specializations.
2023-07-10 21:12:48 -04:00
Donovan Glover
5d351cf6b2
chore: Update packages 2023-07-09 17:46:53 -04:00
Donovan Glover
9c7fb0b490
mullvad: Remove gui package
Not needed since the command line program is excellent. Makes things
easier overall and no longer have to worry about GUI-specific bugs.
2023-07-07 10:49:22 -04:00
Donovan Glover
a152284a63
chore: Formatting 2023-07-05 11:24:58 -04:00
Donovan Glover
27deb6bb43
nix: Simplify
lightdm is only enabled if no other display managers are chosen.

See ./nixos/modules/services/x11/xserver.nix in nixpkgs to verify this.
2023-07-04 16:41:31 -04:00
Donovan Glover
a9362bfd7d
chore: Update packages 2023-07-04 12:18:00 -04:00
Donovan Glover
0fddecce45
fonts: Use default hinting
Fixes an issue where the new "full" option would cause letters such as
"m" to appear disoriented.

For more information, refer to the commit below:
b5d2d701d1
2023-07-03 12:28:39 -04:00
Donovan Glover
a0ef495e73
fish: Replace tput clear with clear
tput isn't needed anymore now that kitty is patched.
2023-07-02 20:03:33 -04:00
Donovan Glover
a982615430
stylix: Increase opacity 2023-07-02 14:34:07 -04:00
Donovan Glover
f9cb5c5c56
meta: Replace waybar with ironbar
Ironbar is a new GTK-based bar written in Rust. It offers substantial
improvements over waybar, including a proper application launcher.
2023-07-02 09:36:31 -04:00
Donovan Glover
5ec4aab697
meta: Remove gamemode
As far as I can tell, there isn't any noticeable performance difference
with the hardware I use.
2023-07-01 22:44:06 -04:00
Donovan Glover
41f3c5e18c
chore: Update packages 2023-07-01 14:21:54 -04:00
Donovan Glover
51795a8829
meta: Use unrar instead of unrar-wrapper
Unfortunately, some functionality appears to only be available with
unrar.
2023-07-01 14:03:40 -04:00
Donovan Glover
2d3458362d
meta: Remove pywal
Not needed anymore since stylix enables more consistent color schemes
that support a wider variety of applications.
2023-06-30 07:58:38 -04:00
Donovan Glover
c53057b129
hyprland: Tile qemu vm by default 2023-06-30 07:48:00 -04:00
Donovan Glover
6cd3e23c21
stylix: Change MapleMono to Maple Mono
This seems to have fixed an issue where italicized text wasn't shown
previously.
2023-06-29 13:55:34 -04:00
Donovan Glover
ae1ad321a3
stylix: Use monokai by default
It's simple and gets the job done.
2023-06-29 11:37:21 -04:00
Donovan Glover
d0b8300bea
stylix: Use variable for font-size 2023-06-27 04:46:28 -04:00
Donovan Glover
48fa7d1512
chore: Update packages 2023-06-26 18:50:57 -04:00
Donovan Glover
62207c05fa
chore: Formatting
Also removes redundant comments.
2023-06-26 18:38:45 -04:00
Donovan Glover
bcbadcfc23
stylix: Use single variable for opacity 2023-06-26 12:01:14 -04:00
Donovan Glover
6f4ebc95be
stylix: Change theme to oceanicnext 2023-06-25 21:42:26 -04:00
Donovan Glover
01368898b8
stylix: Make popups translucent 2023-06-25 21:41:49 -04:00
Donovan Glover
1434434903
fish: Set bat theme to base16 2023-06-25 21:40:49 -04:00
Donovan Glover
2a6536337f
gamemode: Fix error from typo 2023-06-25 18:18:38 -04:00
Donovan Glover
2995ae4d7a
meta: Replace feh with pqiv
pqiv is an image viewer that, unlike feh, has native support for
Wayland, which makes working with it quite nice. It also supports
showing a thumbnail mode that lets you preview and switch between
images with ease, as well as the ability to run custom commands
based on the current image.

pqiv has more features than imv *and* anti-aliasing *actually works*,
making it an ideal choice for image viewing on Wayland. After years of
using feh, I am quite happy that I found pqiv.
2023-06-24 14:58:44 -04:00
Donovan Glover
128c6f619d
meta: Replace unrar with unrar-wrapper 2023-06-24 13:40:02 -04:00
Donovan Glover
08492ea227
feh: Fullscreen by default
This alleviates some of the issues with feh relying on xwayland.
2023-06-24 12:10:01 -04:00
Donovan Glover
24bec3bc32
Revert "meta: Remove super key functionality"
Since I no longer have a need for non-Hyprland virtualized environments,
altering the super key makes sense.
2023-06-23 18:58:07 -04:00
Donovan Glover
a9c5c5eddd
starship: Re-enable containers module
Having some indicator that we're in a container is better than no
indicator at all. starship takes forever to compile, so patching it
would introduce excessively long build times.
2023-06-22 14:38:27 -04:00