Persist the .ssh known_hosts.
This commit is contained in:
parent
5e74a874ba
commit
d2f908005c
@ -37,6 +37,7 @@
|
||||
./roles/qemu
|
||||
./roles/wireguard
|
||||
./roles/bsnes
|
||||
./roles/ssh
|
||||
];
|
||||
|
||||
nix.settings.experimental-features = [
|
||||
|
19
nix/configuration/roles/ssh/default.nix
Normal file
19
nix/configuration/roles/ssh/default.nix
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports = [ ];
|
||||
|
||||
environment.persistence."/persist" = lib.mkIf (!config.me.buildingIso) {
|
||||
hideMounts = true;
|
||||
users.talexander = {
|
||||
files = [
|
||||
".ssh/known_hosts"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user