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,
|
authorizedKeys,
|
||||||
homeConfig ? null,
|
homeConfig ? null,
|
||||||
isNormalUser ? true,
|
isNormalUser ? true,
|
||||||
|
enableHomeManager ? false,
|
||||||
}: {
|
}: {
|
||||||
extraGroups = extraGroups ++ [username];
|
extraGroups = extraGroups ++ [username];
|
||||||
|
|
||||||
home-manager.users.${username} = homeConfig;
|
home-manager.users.${username} = if enableHomeManager then homeConfig else null;
|
||||||
|
|
||||||
users.users.${username} = {
|
users.users.${username} = {
|
||||||
isNormalUser = isNormalUser;
|
isNormalUser = isNormalUser;
|
||||||
|
|
@ -40,6 +41,7 @@
|
||||||
home = "/root";
|
home = "/root";
|
||||||
extraGroups = ["podman"];
|
extraGroups = ["podman"];
|
||||||
authorizedKeys = authorizedKeys;
|
authorizedKeys = authorizedKeys;
|
||||||
|
enableHomeManager = true;
|
||||||
homeConfig = import ./home/root.nix {
|
homeConfig = import ./home/root.nix {
|
||||||
username = "root";
|
username = "root";
|
||||||
inherit config pkgs nix-index-database lib;
|
inherit config pkgs nix-index-database lib;
|
||||||
|
|
@ -55,6 +57,7 @@
|
||||||
"podman"
|
"podman"
|
||||||
];
|
];
|
||||||
authorizedKeys = authorizedKeys;
|
authorizedKeys = authorizedKeys;
|
||||||
|
enableHomeManager = false;
|
||||||
homeConfig = import ./home/ironmagma.nix {
|
homeConfig = import ./home/ironmagma.nix {
|
||||||
username = "ironmagma";
|
username = "ironmagma";
|
||||||
inherit config pkgs nix-index-database lib;
|
inherit config pkgs nix-index-database lib;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue