Donovan Glover
d4f0a45da3
gamemode: Customize
2023-06-07 12:26:12 -04:00
Donovan Glover
77e16590eb
hyprland: Don't blur kitty window by default
2023-06-07 07:52:20 -04:00
Donovan Glover
f2f5560f63
neovim: Add csv-vim
2023-06-06 22:15:33 -04:00
Donovan Glover
4ca1f03f76
variables: Add stateVersion to containers
2023-06-06 22:14:48 -04:00
Donovan Glover
3a9fe397fc
joshuto: Preview lock files
2023-06-06 18:46:12 -04:00
Donovan Glover
d0c7ad0eee
neovim: Add back nvim-scrollbar
...
Looks like the issue where the scrollbar was hiding text behind it has
been fixed.
2023-06-06 17:09:43 -04:00
Donovan Glover
433bd5b01e
meta: Remove nixos-generators
...
After waiting 41 minutes to produce an output iso of 6.9 GB, the iso
itself failed to boot when trying to start it. Rather than dealing with
this excruciatingly long build process, I'd much rather use nixos-rebuild
build-vm.
2023-06-06 17:03:34 -04:00
Donovan Glover
c4636b4b05
neovim: Swap tree toggle with window switch
...
This makes it easier to press enter after switching to the tree window.
2023-06-06 14:04:56 -04:00
Donovan Glover
6d39ed2980
neovim: Add vim-startify
2023-06-06 12:24:49 -04:00
Donovan Glover
486178b27f
Revert "neovim: Focus tree when empty buffer"
...
This actually causes QuitPre to not close neovim since the tree is
closed first when quitting while the tree is focused. For simplicity,
the tree should always be unfocused to avoid ambiguity.
2023-06-06 10:52:39 -04:00
Donovan Glover
4d9a6b6877
variables: Add username
2023-06-06 10:50:42 -04:00
Donovan Glover
b5ccd2e18b
fish: Add n abbreviation for neovim
2023-06-06 10:37:06 -04:00
Donovan Glover
9a9e3be260
fish: Use variables for vm abbreviation
...
This prevents things from breaking if we change the hostname at a later
date.
2023-06-06 10:36:17 -04:00
Donovan Glover
a326873c6a
fish: Add abbreviation for nixos-rebuild switch
2023-06-06 10:33:51 -04:00
Donovan Glover
f6ef515f80
fish: Add abbreviation for nixos-rebuild build-vm
2023-06-06 10:32:32 -04:00
Donovan Glover
e47b456ff2
chore: Spacing
2023-06-06 10:17:15 -04:00
Donovan Glover
a69a38d287
fish: Use lowercase t for tree
2023-06-06 10:17:06 -04:00
Donovan Glover
2fcffe0a67
fish: Add git restore abbreviations
2023-06-06 10:03:09 -04:00
Donovan Glover
9ec36d2bc4
fish: Use smart-case for ripgrep
2023-06-06 10:00:04 -04:00
Donovan Glover
393e2cb241
nix: Use nix-daemon to optimize store
...
This *shouldn't* have a negative impact on performance, and avoids
having to remember to optimize the store periodically.
2023-06-06 08:16:27 -04:00
Donovan Glover
41571e4354
variables: Add locale
2023-06-06 08:14:52 -04:00
Donovan Glover
c59387bb1f
neovim: Close tree with QuitPre
...
This fixes an issue where neovim would automatically close when opening
it with a directory.
2023-06-06 07:50:37 -04:00
Donovan Glover
02dd4540e5
neovim: Focus tree when empty buffer
2023-06-06 07:40:16 -04:00
Donovan Glover
cf6064e500
neovim: Toggle tree with <leader>a
...
To switch between the tree and the file being edited, use <leader>;
2023-06-06 07:27:32 -04:00
Donovan Glover
f0867c039e
neovim: Open tree by default
2023-06-06 07:27:04 -04:00
Donovan Glover
c588b3a0d8
neovim: Close tree if only buffer
2023-06-06 07:18:59 -04:00
Donovan Glover
3878a636d9
nix: Remove unused argument
2023-06-06 07:14:46 -04:00
Donovan Glover
198ed44737
src: Add stateVersion to variables
2023-06-06 05:15:41 -04:00
Donovan Glover
0eadd3469b
meta: Use separate directories for each overlay
2023-06-06 05:03:29 -04:00
Donovan Glover
fc8b241f6e
packages: Use waybar from nixpkgs
2023-06-06 04:44:30 -04:00
Donovan Glover
e907fe26a3
chore: Update flake inputs
2023-06-06 04:43:23 -04:00
Donovan Glover
7265e57c9d
alejandra: Use overlay to remove ads
2023-06-05 23:24:24 -04:00
Donovan Glover
7e38c259fa
meta: Replace joshuto package with overlay
...
This actually took *forever*, but now that I know how to write nixpkgs
overlays, any future ones I write should be relatively straight-forward.
2023-06-05 23:07:36 -04:00
Donovan Glover
a0dae2344d
nix: Use hosts directory
...
This may be useful if I want to try NixOS on another host in the future.
2023-06-05 21:23:28 -04:00
Donovan Glover
5cd582cdac
meta: Use src directory
...
There's something cool about having a separate main.nix for your NixOS
configuration.
2023-06-05 21:16:20 -04:00
Donovan Glover
2ee8217d0b
editorconfig: Follow rust style guide
2023-06-05 20:51:31 -04:00
Donovan Glover
3119b789f8
nix: Format with alejandra
...
Alejandra is written in Rust, has more tests than nixfmt, and handles
non-trivial code examples in Nix better.
2023-06-05 20:50:10 -04:00
Donovan Glover
1077200205
flake.nix: Add alejandra to outputs.formatter
...
Now it's possible to format with alejandra with `nix fmt`.
2023-06-05 20:23:08 -04:00
Donovan Glover
fe099cad69
meta: Switch from nixfmt to alejandra
...
Alejandra should produce formatted code that is more consistent and
more reliable.
2023-06-05 20:20:21 -04:00
Donovan Glover
3b6ab3f265
flake.nix: Put outputs before inputs
...
This makes it easier to see the main logic of the application at a
glance.
2023-06-05 19:26:52 -04:00
Donovan Glover
a48575f176
chore: Spacing
2023-06-05 19:18:46 -04:00
Donovan Glover
b9f22a6ab0
kitty: Revert cell height increase
...
Unfortunately (or fortunately), every line matters when reading and
writing software. Because of this, increasing the cell height results in
more negative consequences than positive.
2023-06-05 19:16:40 -04:00
Donovan Glover
21eb2ab9ac
meta: Begin using variables in main configuration
...
This overall makes it easier to keep track of options we might want to
change (and might be defined in multiple places) without having to worry
about where those places actually are.
2023-06-05 19:01:45 -04:00
Donovan Glover
46c1c99ab6
nix: Simplify nix options
...
Writing nix twice here actually makes things easier to read, and should
be preferred over expansion which results in more lines of code.
2023-06-05 18:55:27 -04:00
Donovan Glover
499c80b3e6
variables: Add timezone
...
The point of the variables file is to make it easy to change common
configuration without having to worry about editing the other files.
2023-06-05 18:52:26 -04:00
Donovan Glover
56c20d9d8e
meta: Only capitalize variables part
...
This should make creating and using variables less annoying.
2023-06-05 18:51:37 -04:00
Donovan Glover
24756ad683
meta: Capitalize variables
...
This should make it easier to identify and search for variables.
2023-06-05 18:48:56 -04:00
Donovan Glover
aef8eaa16a
systemd-boot: Limit generations to 10
...
Now there won't be hundreds of generations in the boot menu.
2023-06-05 17:49:29 -04:00
Donovan Glover
ef0796dc42
nix: Add repl-flake to experimental-features
...
This enables us to browse all the variables in a system configuration
based on nix flakes with `nix repl .`
2023-06-05 16:11:58 -04:00
Donovan Glover
79adca57ef
packages: Add hyprland-autorename-workspaces
...
Note that the behavior of 1.0.0 is different than older versions,
however it doesn't appear to randomly stop working like before.
2023-06-05 14:57:04 -04:00