mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 15:11:34 +01:00
Ignore known hosts for installer-ssh
This commit is contained in:
parent
053034d1d5
commit
2a17d428cd
1 changed files with 13 additions and 0 deletions
13
modules/home/tailscale.nix
Normal file
13
modules/home/tailscale.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
{ config, lib, ... }@moduleArgs:
|
||||||
|
{
|
||||||
|
options.myConfig.tailscale.enable = lib.mkEnableOption "" // {
|
||||||
|
default = moduleArgs.osConfig.myConfig.tailscale.enable or false;
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf config.myConfig.tailscale.enable {
|
||||||
|
programs.ssh = {
|
||||||
|
enable = true;
|
||||||
|
matchBlocks.installer.extraOptions.UserKnownHostsFile = "/dev/null";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue