about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--nix/hosts/nixos/user.nix12
-rw-r--r--nix/hosts/wildcat/default.nix4
-rw-r--r--nix/hosts/wildcat/hardware.nix2
3 files changed, 11 insertions, 7 deletions
diff --git a/nix/hosts/nixos/user.nix b/nix/hosts/nixos/user.nix
index b358d3e..dbd8057 100644
--- a/nix/hosts/nixos/user.nix
+++ b/nix/hosts/nixos/user.nix
@@ -3,10 +3,12 @@
   users.users.fcuny = {
     uid = 1000;
     isNormalUser = true;
-    extraGroups =
-      [
-        "wheel"
-        "dialout" # Enable access to serial devices
-      ];
+    extraGroups = [
+      "wheel"
+      "dialout" # Enable access to serial devices
+    ];
+    openssh.authorizedKeys.keys = [
+      "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINBkozy+X96u5ciX766bJ/AyQ3xm1tXZTIr5+4PVFZFi"
+    ];
   };
 }
diff --git a/nix/hosts/wildcat/default.nix b/nix/hosts/wildcat/default.nix
index f62df7d..8d8edaa 100644
--- a/nix/hosts/wildcat/default.nix
+++ b/nix/hosts/wildcat/default.nix
@@ -10,6 +10,8 @@
   networking.hostName = "fcuny";
   networking.domain = "net";
   services.openssh.enable = true;
-  users.users.root.openssh.authorizedKeys.keys = [ ''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINBkozy+X96u5ciX766bJ/AyQ3xm1tXZTIr5+4PVFZFi'' ];
+  users.users.root.openssh.authorizedKeys.keys = [
+    "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINBkozy+X96u5ciX766bJ/AyQ3xm1tXZTIr5+4PVFZFi"
+  ];
   system.stateVersion = "23.11";
 }
diff --git a/nix/hosts/wildcat/hardware.nix b/nix/hosts/wildcat/hardware.nix
index cc14f5a..351c991 100644
--- a/nix/hosts/wildcat/hardware.nix
+++ b/nix/hosts/wildcat/hardware.nix
@@ -21,7 +21,7 @@
       device = "/dev/sda1";
       fsType = "ext4";
     };
-    "/data" = {
+    "/srv" = {
       device = "/dev/disk/by-id/scsi-0HC_Volume_101115314";
       fsType = "ext4";
     };