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