2022-01-14 13:04:11 +00:00
|
|
|
{ pkgs, ... }: {
|
2022-01-14 13:03:14 +00:00
|
|
|
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" ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|