From 48453eaf1c2c2cc65ba8af4f02dcff34d563060a Mon Sep 17 00:00:00 2001 From: Jade Date: Sun, 8 Jan 2023 19:50:38 +0100 Subject: [PATCH] meow --- .gitattributes | 1 + common.nix | 2 +- potatobook-g/configuration.nix | 5 +++++ secret-data/ssh-desktop-knownhosts-thingies | Bin 0 -> 860 bytes 4 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .gitattributes create mode 100644 secret-data/ssh-desktop-knownhosts-thingies diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..b7db68d --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +secret-data/** filter=git-crypt diff=git-crypt diff --git a/common.nix b/common.nix index c0eab1e..4fddf51 100644 --- a/common.nix +++ b/common.nix @@ -164,7 +164,7 @@ users.users.jade = { cava appimage-run spacenavd libspnav #prismlauncher - gitg gnome-builder + gitg gnome-builder git-crypt gpick qdirstat file whois ffmpeg_5 scribus p7zip file nmap cmatrix tree socat libreoffice ]; diff --git a/potatobook-g/configuration.nix b/potatobook-g/configuration.nix index 2013e5d..0d0913a 100644 --- a/potatobook-g/configuration.nix +++ b/potatobook-g/configuration.nix @@ -191,6 +191,11 @@ # fsType = "btrfs"; # options = [ "subvol=swap" "noatime" ]; #}; + systemd.services.nix-daemon.environment.NIX_SSHOPTS = let + knownHosts = pkgs.writeText "known-hosts" '' + ${builtins.readFile ../secret-data/ssh-desktop-knownhosts-thingies} + ''; + in "-oIdentityFile=/home/jade/.ssh/id_rsa -oUserKnownHostsFile=/home/jade/.ssh/known_hosts"; } diff --git a/secret-data/ssh-desktop-knownhosts-thingies b/secret-data/ssh-desktop-knownhosts-thingies new file mode 100644 index 0000000000000000000000000000000000000000..81ff117c6c0cdf6ab52241804374dc48147f52d0 GIT binary patch literal 860 zcmV-i1Ec%^M@dveQdv+`0OQNVl@E&&r|sXu;wEA}C#lIp(N2{9=?=h;6eID-J41zH z-YCzF5%N`Fj_^5>&1`4Uf%UCB`)G6~cEsKAcAjO+Q7F;0F;^AaxhB5;?GfKDkWcM9 za7l@2dG32L_B5IsIW4$`nUJV6NRDRh zU-pr@+acT37ta7bu*?8Q?ijIb9z|r|A}v~3xDSKZBWUHDYzCUhE0o9up?-yy@I3`* z2cCWe`^(4{{FQ}Nqn^SmbGcdlEUi*SnrTaZ5`lb4P-1K;fS$~ZFI3Hpx6ykW^z$K` zL5m?gse|Djg=jmyD~mKzn+yh703CnFqNBH|tG#&9Z9>ISNd>Xw&L(GGMc?KyyTBHA00nJ+$b-2R zw~w`o2$vmdcBqA;@$_BBszR8u@kN`&0fl8cCN>Z7C(J+P3mfvA*E=r2KD&(Ge+d_( zX+miH5XF+rp%QEq1=s)(Z+{kr)%-2X78h=hEW(jO9-|V-BVq_Bgdg2w>FZaruq*f_0fm=tGy9Q6?Vm#o2QQtJ678E~}U0VXjOWW%mJ(7J*g2j5jkY zc<@EvRUCTy4f}RHQb$QQY)#>&6=(q;phn?!x+dqEiv; z4jUbU@-@{!X;9th>)U|LmLe()U5Ip^@Dq55ti8y=d?K5Hyt0CP z2s4$U(S(jr3cYP-PlP}n1PR9qBXZv|X>~oAQ;JH1NpR@1hTYu