From 2472cc0a1553e6c8aeda36d5a0524b1ccc5a0a09 Mon Sep 17 00:00:00 2001 From: Zynh Ludwig <Zynh0722@gmail.com> Date: Wed, 5 Mar 2025 05:53:39 -0800 Subject: [PATCH] llynx: specs --- hosts/llynx/configuration.nix | 20 +++++++++++++++++--- hosts/llynx/home.nix | 1 + 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/hosts/llynx/configuration.nix b/hosts/llynx/configuration.nix index fd882f2..b2b037b 100644 --- a/hosts/llynx/configuration.nix +++ b/hosts/llynx/configuration.nix @@ -9,6 +9,13 @@ inputs.nixos-apple-silicon.nixosModules.default inputs.home-manager.nixosModules.default ../../modules + + # Default specialisation + ({ lib, config, ... }: { + config = lib.mkIf (config.specialisation != { }) { + snowhawk.hyprland.enable = true; + }; + }) ]; snowhawk = { @@ -21,9 +28,16 @@ power-button.enable = false; }; - services.xserver.enable = true; - services.displayManager.sddm.enable = true; - services.desktopManager.plasma6.enable = true; + specialisation = { + plasma.configuration = { + environment.etc."specialisation".text = "plasma"; + + services.xserver.enable = true; + services.displayManager.sddm.enable = true; + services.desktopManager.plasma6.enable = true; + }; + }; + documentation = { enable = true; diff --git a/hosts/llynx/home.nix b/hosts/llynx/home.nix index 0a8f78f..e1fad1e 100644 --- a/hosts/llynx/home.nix +++ b/hosts/llynx/home.nix @@ -9,6 +9,7 @@ # Desktop firefox.enable = true; kitty.enable = true; + theme.enable = true; sops.enable = true; # Term Tools