1
0

hosts/astatine: add guest user

This commit is contained in:
2023-05-30 17:34:06 +02:00
parent 5270f493b8
commit 4715a5340e
3 changed files with 16 additions and 1 deletions

View File

@@ -4,6 +4,8 @@
imports =
[
./hardware-configuration.nix
./isa.nix
];
boot.kernelParams = [ "console=ttyS0,115200n8" ];

11
hosts/astatine/isa.nix Normal file
View File

@@ -0,0 +1,11 @@
{ ... }:
{
users.users.isa = {
isNormalUser = true;
extraGroups = [ "guests" ];
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGrvhqC/tZzpLMs/qy+1xNSVi2mfn8LXPIEhh7dcGn9e"
];
};
}