feat(modules/networking): enable tailscale

This commit is contained in:
Mohammad Rafiq 2025-05-18 23:08:53 +08:00
parent 391ed94ab4
commit 343dd8fffc
No known key found for this signature in database
3 changed files with 9 additions and 2 deletions

View file

@ -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;};
}
];
}

View file

@ -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;
};
};