Add tailscale auto login
This commit is contained in:
parent
2d30294ba2
commit
3b4e682ab4
2 changed files with 7 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue