This commit is contained in:
Schrottkatze 2023-01-08 22:22:19 +01:00
parent c00fd7e1a8
commit 1f1a71b7df
4 changed files with 9 additions and 10 deletions

View file

@ -84,7 +84,7 @@
# missing: menu-qalc picom-jonaburg
environment.systemPackages = with pkgs; [
# TODO: clean up.
miraclecast
miraclecast blender
];
environment.pathsToLink = [
@ -191,11 +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";
#systemd.services.nix-daemon.environment.NIX_SSHOPTS = let
#knownHosts = pkgs.writeText "known-hosts" ''
#${builtins.readFile ../secret-data/ssh-desktop-knownhosts-thingies}
#'';
#in builtins.trace "-oIdentityFile=/home/jade/.ssh/id_rsa -oUserKnownHostsFile=${knownHosts}" "-v -oIdentityFile=/home/jade/.ssh/id_rsa -oUserKnownHostsFile=/home/jade/nix-configs/secret-data/ssh-desktop-knownhosts-thingies";
}