dixie: dropsonde sync key — rrsync -wo /srv (write-only, hyperborea -> dixie)
This commit is contained in:
@@ -43,6 +43,13 @@ in
|
|||||||
home = "/home/dropsonde";
|
home = "/home/dropsonde";
|
||||||
createHome = true;
|
createHome = true;
|
||||||
shell = pkgs.bash;
|
shell = pkgs.bash;
|
||||||
|
# Hyperborea's nightly sync key (collector -> dixie). rrsync -wo /srv
|
||||||
|
# is the whole capability: write-only rsync rooted at /srv, no shell.
|
||||||
|
# rrsync is a separate nixpkgs package (not bundled with pkgs.rsync);
|
||||||
|
# its rsync + python paths are pinned to the store, so no PATH needed.
|
||||||
|
openssh.authorizedKeys.keys = [
|
||||||
|
''command="${pkgs.rrsync}/bin/rrsync -wo /srv",no-agent-forwarding,no-port-forwarding,no-pty,no-X11-forwarding ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKOGU2ZPL8d5iDWo/PIGRtulLbFqOL8XapgZPp1i8oii dropsonde-sync''
|
||||||
|
];
|
||||||
};
|
};
|
||||||
users.groups.dropsonde = {};
|
users.groups.dropsonde = {};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user