]> gitweb.ps.run Git - flake_server/commitdiff
remove authorized keys (they are now in /srv/git/.ssh/authorized_keys)
authorPatrick <patrick.schoenberger@posteo.de>
Tue, 3 Jun 2025 12:55:05 +0000 (14:55 +0200)
committerPatrick <patrick.schoenberger@posteo.de>
Tue, 3 Jun 2025 12:55:05 +0000 (14:55 +0200)
add python3 to git user's packages for git-hooks

configuration.nix

index d5931f8b107eda1c5804e48db037ea43daee0cf0..a7068cd5dc65d5c58b1c6ecea060bbe419edadc5 100644 (file)
     createHome = true;
     homeMode = "750";
     shell = "${pkgs.git}/bin/git-shell";
-    openssh.authorizedKeys.keys = [
-      "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICQOPefMnq0qvFjYxlrdlSmUgyCbvV85gkfRykVlTnrn ps@nixos"
-      "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB0mNZn4EWdIwXEGfqUwwJy5STaZLYWbeKqDd4MN8WIK root@nixos"
-      "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIL+1sLAf+I+o3aODJeDuNvbqKD1wokQyk6oX0ZGK8su5 root@pschdev"
-      "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN6sNqiMZpmRkiwjj5Dv0QljLObzhopwIsF0WDQbr/Hg ps@nixos"
+    packages = with pkgs; [
+      python3 # for blog git-hook
     ];
   };
   users.groups.git = {};