profiles/hetzner-storage-box-client: Globally pin Hetzner Storage Box SSH public keys
This commit is contained in:
19
profiles/hetzner-storage-box-client/default.nix
Normal file
19
profiles/hetzner-storage-box-client/default.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{ config, lib, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
{
|
||||
|
||||
options.profiles.clerie.hetzner-storage-box-client = {
|
||||
enable = mkEnableOption "Profile for Hetzner Storage Box Clients";
|
||||
};
|
||||
|
||||
config = mkIf config.profiles.clerie.hetzner-storage-box-client.enable {
|
||||
|
||||
programs.ssh.knownHostsFiles = [
|
||||
./hetzner-storage-box-ssh_known_hosts
|
||||
];
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user