26 lines
485 B
Nix
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;
|
|
};
|
|
}
|