diff options
| author | seth <[email protected]> | 2023-05-14 09:03:44 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-05-14 09:05:27 -0400 |
| commit | bbedc6d466ef240c2ff1956e4155fdeb8dfc6d78 (patch) | |
| tree | da2b0def5f3657ba89dead5918edfbc91b69a9fe /hosts | |
| parent | f2e62b9f30453afb3b633bc2c1462a406c12afa4 (diff) | |
hosts: start using tailscale + endlessh -> fail2ban
Diffstat (limited to 'hosts')
| -rw-r--r-- | hosts/glados-wsl/default.nix | 6 | ||||
| -rw-r--r-- | hosts/glados/default.nix | 2 | ||||
| -rw-r--r-- | hosts/profiles.nix | 2 |
3 files changed, 9 insertions, 1 deletions
diff --git a/hosts/glados-wsl/default.nix b/hosts/glados-wsl/default.nix index a05f3ea..33770eb 100644 --- a/hosts/glados-wsl/default.nix +++ b/hosts/glados-wsl/default.nix @@ -5,13 +5,17 @@ }: { imports = [ (modulesPath + "/profiles/minimal.nix") + ../../modules/nixos/features/tailscale.nix ]; environment.systemPackages = with pkgs; [ wslu ]; - getchoo.base.networking.enable = false; + getchoo = { + base.networking.enable = false; + features.tailscale.enable = true; + }; wsl = { enable = true; diff --git a/hosts/glados/default.nix b/hosts/glados/default.nix index 4aef9e7..c05f08a 100644 --- a/hosts/glados/default.nix +++ b/hosts/glados/default.nix @@ -2,11 +2,13 @@ _: { imports = [ ./boot.nix ./hardware-configuration.nix + ../../modules/nixos/features/tailscale.nix ]; getchoo = { base.virtualisation.enable = true; desktop.gnome.enable = true; + features.tailscale.enable = true; hardware = { enable = true; nvidia.enable = true; diff --git a/hosts/profiles.nix b/hosts/profiles.nix index 21f0a90..f0903e5 100644 --- a/hosts/profiles.nix +++ b/hosts/profiles.nix @@ -70,8 +70,10 @@ in { ragenix.nixosModules.default ../modules/nixos/base ../modules/nixos/server + ../modules/nixos/features/tailscale.nix { + getchoo.features.tailscale.enable = true; getchoo.server.enable = true; nix.registry.nixpkgs.flake = nixpkgs; } |
