krebs.git.user.home: /var/lib/git -> pkgs.empty
This commit is contained in:
parent
a431e036e3
commit
b419d6cd36
|
@ -111,7 +111,7 @@ let
|
||||||
type = types.user;
|
type = types.user;
|
||||||
default = {
|
default = {
|
||||||
name = "git";
|
name = "git";
|
||||||
home = "/var/lib/git";
|
home = toString pkgs.empty;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -336,7 +336,6 @@ let
|
||||||
|
|
||||||
users.users.${cfg.user.name} = {
|
users.users.${cfg.user.name} = {
|
||||||
inherit (cfg.user) home name uid;
|
inherit (cfg.user) home name uid;
|
||||||
createHome = true;
|
|
||||||
description = "Git repository hosting user";
|
description = "Git repository hosting user";
|
||||||
shell = "/bin/sh";
|
shell = "/bin/sh";
|
||||||
openssh.authorizedKeys.keys =
|
openssh.authorizedKeys.keys =
|
||||||
|
|
Loading…
Reference in New Issue
Block a user