Don't duplicate the user's stateversion for each system

This commit is contained in:
Bun 2025-06-04 17:34:19 -04:00
parent 4848f2bbc9
commit 761280992e
15 changed files with 10 additions and 44 deletions

View file

@ -1,6 +1,7 @@
{ pkgs, ... }:
{
boot = {
binfmt.emulatedSystems = [ "x86_64-linux" ];
kernelPackages = pkgs.linuxPackages_hardened;
loader.systemd-boot.enable = true;
};

View file

@ -6,7 +6,6 @@
./filesystems
./hardware
./services
./user
(modulesPath + "/profiles/headless.nix")
];

View file

@ -1,6 +0,0 @@
{ config, lib, ... }:
{
home-manager.users."${config.vars.mainUser}".home = {
stateVersion = lib.mkForce config.system.stateVersion;
};
}

View file

@ -1,6 +0,0 @@
{ config, lib, ... }:
{
home-manager.users."${config.vars.mainUser}".home = {
stateVersion = lib.mkForce config.system.stateVersion;
};
}