all repos — char/flake @ 7ecac565a0163c65ebe7adcc5b19d327837fd017

nixos flake

onyx: add simple-git-ssh
Charlotte Som charlotte@som.codes
Thu, 23 Apr 2026 18:07:13 +0100
commit

7ecac565a0163c65ebe7adcc5b19d327837fd017

parent

47caa1ea0f80a6620c45b4a139bb1c418269eea3

2 files changed, 7 insertions(+), 0 deletions(-)

jump to
M flake.nixflake.nix

@@ -75,6 +75,7 @@ ./profiles/onyx/base.nix

./profiles/onyx/nvidia.nix ./profiles/onyx/hyper-v.nix ./profiles/onyx/borg.nix + ./profiles/onyx/git-server.nix ]; }; };
A profiles/onyx/git-server.nix

@@ -0,0 +1,6 @@

+{ ... }: { + services.openssh.extraConfig = '' + Match User git + ForceCommand /usr/local/bin/simple-git-ssh + ''; +}