diff --git a/nixos/hosts/nixos-desktop/default.nix b/nixos/hosts/nixos-desktop/default.nix index b551c3a9..93afb7b4 100644 --- a/nixos/hosts/nixos-desktop/default.nix +++ b/nixos/hosts/nixos-desktop/default.nix @@ -1,10 +1,11 @@ -{ inputs, config, lib, pkgs, modulesPath, desktop, username, platform, ... }: { +{ inputs, config, lib, pkgs, modulesPath, desktop, hostname, username, platform, ... }: { imports = [ ./disks.nix ../../common/modules/secureboot.nix ../../common/modules/ssh-luks.nix ../../common/services/openrazer.nix ../../common/services/podman.nix + ../../common/services/tailscale-autoconnect.service ]; # steam, nvidia-x11, etc nixpkgs.config.allowUnfree = true; @@ -85,17 +86,4 @@ pkgs.android-udev-rules ]; - # Generic Tailscale configs are in /nixos/common/services/tailscale.nix - # Set up the secrets file: - sops.secrets."tailscale_keys/nixos-desktop" = { - owner = "root"; - sopsFile = ../../../secrets/tailscale.yaml; - restartUnits = [ - "tailscaled.service" - "tailscaled-autoconnect.service" - ]; - }; - services.tailscale.authKeyFile = "/run/secrets/tailscale_keys/nixos-desktop"; - # networking.firewall.allowedTCPPorts = [ 22 ]; - }