Add tailscale auto login

This commit is contained in:
Markus Heurung 2024-05-20 17:35:31 +02:00
parent 2d30294ba2
commit 3b4e682ab4
2 changed files with 7 additions and 2 deletions

View file

@ -65,6 +65,7 @@
};
services.tailscale = {
enable = true;
authKeyFile = config.sops.secrets.tailscale_auth_key.path;
};
# Configure keymap in X11
@ -74,6 +75,9 @@
};
# sops.defaultSopsFile = "/home/muhh/nix-config/secrets/secrets.yaml";
sops.defaultSopsFile = ../secrets/secrets.yaml;
sops.age.keyFile = "/home/muhh/.config/sops/age/keys.txt";
sops.secrets.tailscale_auth_key = {};
# Define a user account. Don't forget to set a password with passwd.
users.users.muhh = {
isNormalUser = true;