summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/glados-wsl/default.nix6
-rw-r--r--hosts/glados/default.nix2
-rw-r--r--hosts/profiles.nix2
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;
}