profiles/common-ssh: Configure GlobalKnownHosts manually so we avoid import from derivation
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ config, lib, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
@@ -10,9 +10,9 @@ with lib;
|
||||
|
||||
config = mkIf config.profiles.clerie.hetzner-storage-box-client.enable {
|
||||
|
||||
programs.ssh.knownHostsFiles = [
|
||||
./hetzner-storage-box-ssh_known_hosts
|
||||
];
|
||||
profiles.clerie.common-ssh.knownHostsFiles = [
|
||||
(pkgs.copyPathToStore ./hetzner-storage-box-ssh_known_hosts)
|
||||
];
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user