Fix home setup for server iso; force minimal core setup
Some checks are pending
Build NixOS ISOs / build-iso (arm, desktop, ubuntu-latest-arm64) (push) Waiting to run
Build NixOS ISOs / build-iso (arm, server, ubuntu-latest-arm64) (push) Waiting to run
Build NixOS ISOs / build-iso (x86, desktop, ubuntu-latest) (push) Waiting to run
Build NixOS ISOs / build-iso (x86, server, ubuntu-latest) (push) Waiting to run
Build NixOS ISOs / create-release (push) Blocked by required conditions
Some checks are pending
Build NixOS ISOs / build-iso (arm, desktop, ubuntu-latest-arm64) (push) Waiting to run
Build NixOS ISOs / build-iso (arm, server, ubuntu-latest-arm64) (push) Waiting to run
Build NixOS ISOs / build-iso (x86, desktop, ubuntu-latest) (push) Waiting to run
Build NixOS ISOs / build-iso (x86, server, ubuntu-latest) (push) Waiting to run
Build NixOS ISOs / create-release (push) Blocked by required conditions
This commit is contained in:
parent
aab3a6fd34
commit
6cdd4651f6
1 changed files with 23 additions and 0 deletions
23
iso/dist/server.nix
vendored
23
iso/dist/server.nix
vendored
|
@ -36,4 +36,27 @@ in
|
|||
enable = true;
|
||||
keyMap = "us";
|
||||
};
|
||||
|
||||
home-manager = lib.mkForce {
|
||||
extraSpecialArgs = {
|
||||
inherit pkgs inputs;
|
||||
inherit (config) secretsSpec hostSpec;
|
||||
};
|
||||
users = {
|
||||
root.home.stateVersion = "24.05"; # Avoid error
|
||||
${username} = {
|
||||
imports = [
|
||||
(import "${inputs.dot-nix}/home/global/core" {
|
||||
inherit
|
||||
config
|
||||
hostSpec
|
||||
inputs
|
||||
lib
|
||||
pkgs
|
||||
;
|
||||
})
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue