26 lines
702 B
Nix
26 lines
702 B
Nix
{
|
|
# configure nix stuff
|
|
nix = {
|
|
settings = {
|
|
experimental-features = [ "nix-command" "flakes" "pipe-operators" ];
|
|
auto-optimise-store = true;
|
|
};
|
|
gc = {
|
|
dates = "weekly";
|
|
automatic = true;
|
|
randomizedDelaySec = "45min";
|
|
};
|
|
};
|
|
|
|
# Make sure the system is at least semi up to date
|
|
system.autoUpgrade = {
|
|
enable = true;
|
|
dates = "weekly";
|
|
};
|
|
|
|
# This value determines the NixOS release with which your system is to be
|
|
# compatible, in order to avoid breaking some software such as database
|
|
# servers. You should change this only after NixOS release notes say you
|
|
# should.
|
|
system.stateVersion = "25.05"; # Did you read the comment?
|
|
}
|