Radish alpha
r
rad:z254T5p17bdFPmzfDojsdjo4HjpoZ
Radicle Infrastructure as Code (NixOS, OpenTofu, …)
Radicle
Git
os/seed: Add Rudolfs, Sebastian, Lars
Lorenz Leutgeb committed 7 months ago
commit ead057b0a53cc4ff716c7ec3d128a26dcff8cdcd
parent d23086c
1 file changed +42 -0
modified 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"
+
        ];
+
      };
+
    };
+
  };
}