turn off home-manager for ironmagma
This commit is contained in:
parent
6a2fd259cd
commit
a017e92aa5
1 changed files with 4 additions and 1 deletions
|
|
@ -12,10 +12,11 @@
|
|||
authorizedKeys,
|
||||
homeConfig ? null,
|
||||
isNormalUser ? true,
|
||||
enableHomeManager ? false,
|
||||
}: {
|
||||
extraGroups = extraGroups ++ [username];
|
||||
|
||||
home-manager.users.${username} = homeConfig;
|
||||
home-manager.users.${username} = if enableHomeManager then homeConfig else null;
|
||||
|
||||
users.users.${username} = {
|
||||
isNormalUser = isNormalUser;
|
||||
|
|
@ -40,6 +41,7 @@
|
|||
home = "/root";
|
||||
extraGroups = ["podman"];
|
||||
authorizedKeys = authorizedKeys;
|
||||
enableHomeManager = true;
|
||||
homeConfig = import ./home/root.nix {
|
||||
username = "root";
|
||||
inherit config pkgs nix-index-database lib;
|
||||
|
|
@ -55,6 +57,7 @@
|
|||
"podman"
|
||||
];
|
||||
authorizedKeys = authorizedKeys;
|
||||
enableHomeManager = false;
|
||||
homeConfig = import ./home/ironmagma.nix {
|
||||
username = "ironmagma";
|
||||
inherit config pkgs nix-index-database lib;
|
||||
|
|
|
|||
Loading…
Reference in a new issue