feat: enable tailscale service

This commit is contained in:
Gustavo "Guz" L. de Mello
2024-04-10 13:49:48 -03:00
parent 5082bdeed4
commit ddb2fa6a5b
4 changed files with 17 additions and 5 deletions

View File

@@ -37,6 +37,11 @@
xdg-desktop-portal-gtk
];
services.tailscale = {
enable = true;
tailnetName = "${config.battleship-secrets.tailnet-name}";
};
fonts.fontconfig.enable = true;
fonts.packages = with pkgs; [
fira-code
@@ -47,7 +52,7 @@
home-manager-helper.users."guz" = {
name = "guz";
shell = pkgs.zsh;
hashedPassword = "$y$j9T$J7gmdB306rufrjdsY5kJq0$spluDZf8jEkG0VYcZXzBIpnACVIk27C8YTbo2vbNFfA";
hashedPasswordFile = builtins.toString config.sops.secrets."guz/password".path;
home = import ./home.nix;
isNormalUser = true;
extraGroups = ["wheel" "networkmanager"];

View File

@@ -36,6 +36,9 @@ in {
sops.secrets.lat = {
owner = config.users.users.guz.name;
};
sops.secrets."guz/password" = {
owner = config.users.users.guz.name;
};
sops.age.keyFile = "/home/guz/.config/sops/age/keys.txt";
};