cleanup
This commit is contained in:
19
users/testuser/default.nix
Normal file
19
users/testuser/default.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [ ../default.nix ];
|
||||
|
||||
programs.zsh.enable = true;
|
||||
users.users.testuser = {
|
||||
isNormalUser = true;
|
||||
initialPassword = "1";
|
||||
description = "Test user";
|
||||
shell = pkgs.zsh;
|
||||
openssh.authorizedKeys.keys = [ config.mainUser.sshKey ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user