22 lines
446 B
Nix
22 lines
446 B
Nix
|
{ ... }: {
|
||
|
nixpkgs.config.allowUnfree = true;
|
||
|
nix = {
|
||
|
package = pkgs.nixUnstable;
|
||
|
useSandbox = true;
|
||
|
autoOptimiseStore = true;
|
||
|
extraOptions = ''
|
||
|
experimental-features = nix-command flakes
|
||
|
'';
|
||
|
trustedUsers = [ "@wheel" ];
|
||
|
gc = {
|
||
|
automatic = true;
|
||
|
dates = "weekly";
|
||
|
options = "--delete-older-than 7d";
|
||
|
};
|
||
|
optimise = {
|
||
|
automatic = true;
|
||
|
dates = [ "weekly" ];
|
||
|
};
|
||
|
};
|
||
|
}
|