initial commit
This commit is contained in:
commit
4014d5e658
30 changed files with 911 additions and 0 deletions
26
modules/os.nix
Normal file
26
modules/os.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
# 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?
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue