about summary refs log tree commit diff
path: root/nix/users/fcuny/nixos.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-12-09 08:06:21 -0800
committerFranck Cuny <franck@fcuny.net>2024-12-09 08:06:21 -0800
commit5e5b5322f6b648ab01bf204e9e655721d748f7e8 (patch)
tree4084d13973eecd3128583d22510968f635cecc63 /nix/users/fcuny/nixos.nix
parentmove the configuration for hetzner under machines (diff)
downloadworld-5e5b5322f6b648ab01bf204e9e655721d748f7e8.tar.gz
set hostname and correct ssh key
Diffstat (limited to 'nix/users/fcuny/nixos.nix')
-rw-r--r--nix/users/fcuny/nixos.nix9
1 files changed, 4 insertions, 5 deletions
diff --git a/nix/users/fcuny/nixos.nix b/nix/users/fcuny/nixos.nix
index 7d7eee5..c030327 100644
--- a/nix/users/fcuny/nixos.nix
+++ b/nix/users/fcuny/nixos.nix
@@ -1,8 +1,5 @@
 { pkgs, ... }: {
-  # https://github.com/nix-community/home-manager/pull/2408
-  environment.pathsToLink = [ "/share/fish" ];
-
-  # Add ~/.local/bin to PATH
+  # add ~/.local/bin to PATH
   environment.localBinInPath = true;
 
   # we're using fish as our shell
@@ -13,9 +10,11 @@
     home = "/home/fcuny";
     extraGroups = [ "docker" "wheel" ];
     shell = pkgs.fish;
+    hashedPassword =
+      "$6$U4GoqhuHgdr.h0JP$C/BKslQfOpPJ5lUzrTeQh6i859R/jEKYSF9MaRhWYo5VG6aCDKsvb5xKSifH4nQt6okJixG9ceFh..Mnt93Jt/";
     openssh.authorizedKeys.keys = [
+      # key `nixos` in 1password
       "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINBkozy+X96u5ciX766bJ/AyQ3xm1tXZTIr5+4PVFZFi"
-      "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFP4IsfG32WsmXJNcjsmuahhBHFQ6NulngEMaxcvDd/C"
     ];
   };
 }