feat(modules/networking): enable tailscale
This commit is contained in:
parent
391ed94ab4
commit
343dd8fffc
3 changed files with 9 additions and 2 deletions
|
@ -5,6 +5,10 @@
|
|||
networking.useDHCP = lib.mkDefault true;
|
||||
networking.hostName = config.system.hostname;
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
services.tailscale = {
|
||||
enable = true;
|
||||
authKeyFile = config.sops.secrets."keys/tailscale".path;};
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
defaultSopsFile = lib.snowfall.fs.get-file "secrets/secrets.yaml";
|
||||
age.sshKeyPaths = ["/persist/home/rafiq/.ssh/id_ed25519"];
|
||||
secrets = {
|
||||
"keys/tailscale" = {};
|
||||
"rafiq/hashedPassword".neededForUsers = true;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue