kein admin user anlegen
This commit is contained in:
parent
c5eb1353af
commit
df593b467e
1 changed files with 7 additions and 6 deletions
13
default.nix
13
default.nix
|
|
@ -38,7 +38,7 @@ in
|
||||||
"nix-command"
|
"nix-command"
|
||||||
"flakes"
|
"flakes"
|
||||||
];
|
];
|
||||||
trusted-users = [ "administration" ];
|
# trusted-users = [ "administration" ];
|
||||||
auto-optimise-store = true;
|
auto-optimise-store = true;
|
||||||
};
|
};
|
||||||
optimise.automatic = true;
|
optimise.automatic = true;
|
||||||
|
|
@ -60,11 +60,12 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
users.users = {
|
users.users = {
|
||||||
administration = {
|
# erstmal nur mit root
|
||||||
isNormalUser = true;
|
# administration = {
|
||||||
extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
|
# isNormalUser = true;
|
||||||
openssh.authorizedKeys.keys = keys;
|
# extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
|
||||||
};
|
# openssh.authorizedKeys.keys = keys;
|
||||||
|
# };
|
||||||
root = {
|
root = {
|
||||||
openssh.authorizedKeys.keys = keys;
|
openssh.authorizedKeys.keys = keys;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue