Use separate state version for every machine

This also uses the system state version as the home-manager state
version.

Fixes #35.
pull/48/head
Simon Bruder 2021-01-31 12:11:39 +01:00
parent f211bae4e2
commit a02d3cb883
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
4 changed files with 5 additions and 4 deletions

View File

@ -28,4 +28,6 @@
};
networking.hostName = "nunotaba";
system.stateVersion = "20.03";
}

View File

@ -33,4 +33,6 @@
};
networking.hostName = "sayuri";
system.stateVersion = "20.03";
}

View File

@ -93,9 +93,6 @@ in
programs.gnupg.agent.enable = true;
programs.ssh.startAgent = true;
# NixOS state version (see https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion)
system.stateVersion = "20.03";
# When this is set to true (default), routing everything through a
# wireguard tunnel does not work.
networking.firewall.checkReversePath = "loose";

View File

@ -47,7 +47,7 @@ in
imports = [ ./modules ];
config = {
home.stateVersion = "20.09";
home.stateVersion = config.system.stateVersion;
};
};
}