From ead057b0a53cc4ff716c7ec3d128a26dcff8cdcd Mon Sep 17 00:00:00 2001 From: Lorenz Leutgeb Date: Tue, 2 Sep 2025 17:57:27 +0200 Subject: [PATCH] os/seed: Add Rudolfs, Sebastian, Lars --- os/host/seed/files.nix | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/os/host/seed/files.nix b/os/host/seed/files.nix index 250b80d..b64aafb 100644 --- a/os/host/seed/files.nix +++ b/os/host/seed/files.nix @@ -11,4 +11,46 @@ in { enableACME = true; serverName = name; }; + + users = { + groups.files = {}; + + users = { + rudolfs = { + isNormalUser = true; + createHome = true; + home = "/home/rudolfs"; + description = "Rudolfs"; + extraGroups = ["files"]; + uid = 1003; + openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPueml1FxzjvwbD7vRZfwoaoyuxLy0L+WLBwSNiVoJe5" + ]; + }; + + sebastian = { + isNormalUser = true; + createHome = true; + home = "/home/sebastian"; + description = "Sebastian"; + extraGroups = ["files"]; + uid = 1004; + openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFw+wCPZUh8OndhgavJMSZluorVvzJjz22PH81XrkvIu" + ]; + }; + + lars = { + isNormalUser = true; + createHome = true; + home = "/home/lars"; + description = "Lars"; + extraGroups = ["files"]; + uid = 1005; + openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBppC96N69P8CxDm1jJhcutHLKWxJG4ew4R5b1A4WgKs" + ]; + }; + }; + }; }