nixos-config/configurations/nix-store.nix
2020-06-27 11:18:07 +02:00

26 lines
485 B
Nix

{ ... }:
{
nix = {
gc = {
automatic = true;
dates = "hourly";
options = "--delete-older-than 7d";
};
optimise = {
automatic = true;
dates = [ "hourly" ];
};
};
system.autoUpgrade = {
allowReboot = false;
enable = true;
dates = "hourly";
};
home-manager.users.charlotte = { ... }: {
nixpkgs.config = import ./nix-store/config.nix;
xdg.configFile."nixpkgs/config.nix".source = ./nix-store/config.nix;
};
}