Fix impermanence vm
This commit is contained in:
parent
a1c5c3b291
commit
fb414ef491
9 changed files with 59 additions and 47 deletions
20
common.nix
20
common.nix
|
@ -1,20 +0,0 @@
|
|||
# Common configuration for all systems
|
||||
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
nix = {
|
||||
settings.auto-optimise-store = true;
|
||||
|
||||
# Clean generations older than a week
|
||||
gc = {
|
||||
automatic = false; # Flip this to do it automatically
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 7d";
|
||||
};
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
system.stateVersion = "23.05";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue