sets/base: use nix xdg base directories

This commit is contained in:
Artemis Tosini 2024-02-09 22:12:06 +00:00
parent 8db4342b8f
commit d9ef18aaab
Signed by: artemist
SSH key fingerprint: SHA256:EsuWCwx6fjxxExxf65rX+ocQJJAdw4R1KarpFue6Uwc

View file

@ -12,16 +12,18 @@
type = "path";
path = inputs.nixpkgs.outPath;
};
settings.auto-optimise-store = true;
extraOptions = ''
experimental-features = nix-command flakes ca-derivations
'';
settings = {
auto-optimise-store = true;
experimental-features = [ "nix-command" "flakes" "ca-derivations" ];
trusted-users = [ "@wheel" ];
use-xdg-base-directories = true;
};
gc = {
automatic = true;
dates = "8:00";
options = "--delete-older-than 14d";
};
settings.trusted-users = [ "artemis" ];
};
nixpkgs = {