blob: dd19e41bcc7a2e1dc05bdb99f87bfea57846d5d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
{ flake, pkgs, userName, ... }: {
imports = with flake.nixosModules.userProfiles.${userName}; [
feeds
];
config = {
users.users.${userName}.uid = 1000;
home-manager.users.${userName} = {
home.file.".ssh/authorized_keys".text = ''
command="${pkgs.unison}/bin/unison -server",no-port-forwarding,no-X11-forwarding,no-pty,no-agent-forwarding,no-user-rc ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA4izEz5pEjJqFLeJewHCoqtskqA+olKZNEP1yZWK7Ui gkleen@sif
'';
};
};
}
|