diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-11-08 20:35:06 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-11-08 20:35:06 +0100 |
commit | 7b88439615d1f8a7bea81768ae09e1c205b1c726 (patch) | |
tree | 20559d16baeb5da55b276aac47049165d3e9db3e | |
parent | 05d516d7c5720dcb9359fb28c6903cb684f8b665 (diff) | |
download | nixos-7b88439615d1f8a7bea81768ae09e1c205b1c726.tar nixos-7b88439615d1f8a7bea81768ae09e1c205b1c726.tar.gz nixos-7b88439615d1f8a7bea81768ae09e1c205b1c726.tar.bz2 nixos-7b88439615d1f8a7bea81768ae09e1c205b1c726.tar.xz nixos-7b88439615d1f8a7bea81768ae09e1c205b1c726.zip |
gkleen@sif: ...
-rw-r--r-- | accounts/gkleen@sif/default.nix | 2 | ||||
-rw-r--r-- | accounts/gkleen@vidhar.nix | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix index c26d3c49..311b2129 100644 --- a/accounts/gkleen@sif/default.nix +++ b/accounts/gkleen@sif/default.nix | |||
@@ -210,7 +210,7 @@ in { | |||
210 | log = "false"; | 210 | log = "false"; |
211 | repeat = "watch"; | 211 | repeat = "watch"; |
212 | sshcmd = "${pkgs.openssh}/bin/ssh"; | 212 | sshcmd = "${pkgs.openssh}/bin/ssh"; |
213 | sshargs = "-o BatchMode=yes -S none"; | 213 | sshargs = "-o BatchMode=yes -S none -o IdentityFile=~/.ssh/unison.gkleen@vidhar.yggdrasil"; |
214 | ui = "text"; | 214 | ui = "text"; |
215 | }; | 215 | }; |
216 | }; | 216 | }; |
diff --git a/accounts/gkleen@vidhar.nix b/accounts/gkleen@vidhar.nix index bf75f694..dd19e41b 100644 --- a/accounts/gkleen@vidhar.nix +++ b/accounts/gkleen@vidhar.nix | |||
@@ -6,9 +6,9 @@ | |||
6 | config = { | 6 | config = { |
7 | users.users.${userName}.uid = 1000; | 7 | users.users.${userName}.uid = 1000; |
8 | home-manager.users.${userName} = { | 8 | home-manager.users.${userName} = { |
9 | home.packages = with pkgs; [ | 9 | home.file.".ssh/authorized_keys".text = '' |
10 | unison | 10 | 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 |
11 | ]; | 11 | ''; |
12 | }; | 12 | }; |
13 | }; | 13 | }; |
14 | } | 14 | } |