about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-10-08 19:22:05 -0700
committerFranck Cuny <franck@fcuny.net>2024-10-08 19:22:05 -0700
commit219c58eea8b2ceaf67a70837bfe06383e8701232 (patch)
tree60ac07d6a987bcbe0811f08b13073fc541fdb2bf
parentbuild and deploy correctly the configuration to wildcat (diff)
downloadworld-219c58eea8b2ceaf67a70837bfe06383e8701232.tar.gz
new ssh public key for my user
-rw-r--r--nix/hosts/nixos/user.nix14
1 files changed, 7 insertions, 7 deletions
diff --git a/nix/hosts/nixos/user.nix b/nix/hosts/nixos/user.nix
index c8f0f6a..47c2267 100644
--- a/nix/hosts/nixos/user.nix
+++ b/nix/hosts/nixos/user.nix
@@ -1,19 +1,19 @@
-{ ... }:
-{
+{ ... }: {
   users.users.fcuny = {
     uid = 1000;
     isNormalUser = true;
-    extraGroups = [
-      "git"
-      "wheel"
-    ];
+    extraGroups = [ "git" "wheel" ];
     openssh.authorizedKeys.keys = [
       "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINBkozy+X96u5ciX766bJ/AyQ3xm1tXZTIr5+4PVFZFi"
+      "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFP4IsfG32WsmXJNcjsmuahhBHFQ6NulngEMaxcvDd/C"
     ];
   };
 
   security.sudo.extraRules = [{
     groups = [ "wheel" ];
-    commands = [{ command = "ALL"; options = [ "NOPASSWD" ]; }];
+    commands = [{
+      command = "ALL";
+      options = [ "NOPASSWD" ];
+    }];
   }];
 }