From 17c7fde05f345231482bfdab40ed1cd5775790ca Mon Sep 17 00:00:00 2001 From: Julia Lange Date: Wed, 8 Jan 2025 13:39:56 -0800 Subject: [PATCH] OS, add basic tailscale app --- hosts/jibril/host.nix | 3 +++ nixosModules/apps/tailscale/app.nix | 11 +++++++++++ 2 files changed, 14 insertions(+) create mode 100644 nixosModules/apps/tailscale/app.nix diff --git a/hosts/jibril/host.nix b/hosts/jibril/host.nix index e012354..2778816 100644 --- a/hosts/jibril/host.nix +++ b/hosts/jibril/host.nix @@ -27,7 +27,10 @@ tuigreet.enable = true; hyprland.enable = true; + tailscale.enable = true; shell.enabledShells = [ "fish" ]; shell.defaultShell = "fish"; + + steam.enable = true; } diff --git a/nixosModules/apps/tailscale/app.nix b/nixosModules/apps/tailscale/app.nix new file mode 100644 index 0000000..37dcc9f --- /dev/null +++ b/nixosModules/apps/tailscale/app.nix @@ -0,0 +1,11 @@ +{ config, lib, ... }: + +{ + options.tailscale = { + enable = lib.mkEnableOption "Enables tailscale"; + }; + + config = lib.mkIf config.tailscale.enable { + services.tailscale.enable = true; + }; +}