Don't duplicate the user's stateversion for each system
This commit is contained in:
parent
4848f2bbc9
commit
761280992e
15 changed files with 10 additions and 44 deletions
|
@ -1,6 +1,7 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
boot = {
|
||||
binfmt.emulatedSystems = [ "x86_64-linux" ];
|
||||
kernelPackages = pkgs.linuxPackages_hardened;
|
||||
loader.systemd-boot.enable = true;
|
||||
};
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
./filesystems
|
||||
./hardware
|
||||
./services
|
||||
./user
|
||||
(modulesPath + "/profiles/headless.nix")
|
||||
];
|
||||
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
home-manager.users."${config.vars.mainUser}".home = {
|
||||
stateVersion = lib.mkForce config.system.stateVersion;
|
||||
};
|
||||
}
|
|
@ -1,6 +0,0 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
home-manager.users."${config.vars.mainUser}".home = {
|
||||
stateVersion = lib.mkForce config.system.stateVersion;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue