about summary refs log tree commit diff
path: root/nix/hosts/nixos
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-08-05 17:09:47 -0700
committerFranck Cuny <franck@fcuny.net>2024-08-05 17:09:47 -0700
commite7be60895a71b95fe619c4c035afd67867454723 (patch)
tree98d63dff5427c1734f9b5b50da236bab0ab57ac5 /nix/hosts/nixos
parentadd a new host: wildcat (diff)
downloadworld-e7be60895a71b95fe619c4c035afd67867454723.tar.gz
set the ssh key for user fcuny
Diffstat (limited to '')
-rw-r--r--nix/hosts/nixos/user.nix12
1 files changed, 7 insertions, 5 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"
+    ];
   };
 }