Files
nix-config/users/testuser/default.nix
2026-01-03 13:20:11 +01:00

20 lines
312 B
Nix

{
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 ];
};
}