fixed up gc typo

This commit is contained in:
serenity-F 2024-11-12 16:50:31 +10:00
parent a806d5dda8
commit 87576a0260
No known key found for this signature in database

View file

@ -23,13 +23,14 @@
i18n.defaultLocale = "en_GB.UTF-8";
## Genuinely dunno what these do hey, like isnt sudo
## already restricted to @wheel only? & wut is rtkit
## already restricted to @wheel only?
security = {
polkit.enable = true;
sudo.execWheelOnly = true;
};
nix.settings = {
nix = {
settings = {
## Use all cores during build
cores = 0;
max-jobs = "auto";
@ -38,6 +39,12 @@
download-buffer-size = [ "268435456" ];
allowed-users = [ "@wheel" ];
## Enable flakes uwu
experimental-features = [
"recursive-nix"
"nix-command"
"flakes"
];
};
gc = {
## Automatically run 'nix-collect-garbage'
automatic = true;
@ -48,11 +55,7 @@
## No clue what this does lol.
#persistent = true;
};
experimental-features = [
"recursive-nix"
"nix-command"
"flakes"
];
};
## Apparently prevents getting stuck at shutdown