summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--accounts/gkleen@sif/default.nix2
-rw-r--r--accounts/gkleen@vidhar.nix6
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}