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
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
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
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
6d1861e3e7
nix: Remove duplicate option
2023-06-05 13:04:20 -04:00
Donovan Glover
d254910993
nix: Remove old imports
2023-06-05 13:03:38 -04:00
Donovan Glover
5fb6b65d24
nix: Merge host modules
2023-06-05 12:34:23 -04:00
Donovan Glover
757902868f
nix: Merge dev with common
2023-06-05 12:16:21 -04:00
Donovan Glover
30ccf622f7
nix: Merge user module
2023-06-05 12:12:12 -04:00
Donovan Glover
d97aa7fa1e
nix: Continue simplifying file structure
2023-06-05 12:11:07 -04:00
Donovan Glover
84af6079e4
nix: Abstract logic outside of flake
...
Now flake.nix does *not* need to be edited when adjusting the
configuration unless actual changes need to be done to the inputs.
2023-06-05 12:00:18 -04:00
Donovan Glover
dc0b9d241a
nix: Remove old import
2023-06-02 19:11:27 -04:00
Donovan Glover
c517b25312
Disable suspend on lid close
...
This was more annoying than not due to having to re-establish an
internet connection every time the lid was closed. Other advantages
include the possibility to use the computer while closed.
2023-05-26 10:54:54 -04:00
Donovan Glover
3c2dbb4915
Use a more sane default locale
2023-05-26 10:50:25 -04:00
Donovan Glover
83322580a2
nix: Move up common modules
2023-05-25 16:49:17 -04:00