Use separate state version for every machine
This also uses the system state version as the home-manager state version. Fixes #35.
This commit is contained in:
parent
f211bae4e2
commit
a02d3cb883
|
@ -28,4 +28,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.hostName = "nunotaba";
|
networking.hostName = "nunotaba";
|
||||||
|
|
||||||
|
system.stateVersion = "20.03";
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,4 +33,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.hostName = "sayuri";
|
networking.hostName = "sayuri";
|
||||||
|
|
||||||
|
system.stateVersion = "20.03";
|
||||||
}
|
}
|
||||||
|
|
|
@ -93,9 +93,6 @@ in
|
||||||
programs.gnupg.agent.enable = true;
|
programs.gnupg.agent.enable = true;
|
||||||
programs.ssh.startAgent = 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
|
# When this is set to true (default), routing everything through a
|
||||||
# wireguard tunnel does not work.
|
# wireguard tunnel does not work.
|
||||||
networking.firewall.checkReversePath = "loose";
|
networking.firewall.checkReversePath = "loose";
|
||||||
|
|
|
@ -47,7 +47,7 @@ in
|
||||||
imports = [ ./modules ];
|
imports = [ ./modules ];
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
home.stateVersion = "20.09";
|
home.stateVersion = config.system.stateVersion;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue