From cc23723a9ca59cd1b46680c1295ea6174ff18ecd Mon Sep 17 00:00:00 2001 From: Kopatz <7265381+Kropatz@users.noreply.github.com> Date: Wed, 6 Aug 2025 11:27:40 +0200 Subject: [PATCH] fix server build --- modules/graphical/stylix.nix | 4 ++-- systems/amd-server/configuration.nix | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/graphical/stylix.nix b/modules/graphical/stylix.nix index 39b3da5..b2a5348 100644 --- a/modules/graphical/stylix.nix +++ b/modules/graphical/stylix.nix @@ -5,7 +5,7 @@ in { enable = mkEnableOption "Enables stylix"; image = mkOption { type = types.path; - default = ../../yuyukowallpaper.png; + default = ../../tsukasa.jpg; description = '' The wallpaper to use. ''; @@ -51,7 +51,7 @@ in { autoEnable = lib.mkForce true; polarity = "dark"; image = cfg.image; - base16Scheme = cfg.base16Scheme; + base16Scheme = lib.mkIf (cfg.base16Scheme != null) cfg.base16Scheme; override = cfg.override; #base16Scheme = ../../home-manager/themes/yorha/scheme.yml; #base16Scheme = diff --git a/systems/amd-server/configuration.nix b/systems/amd-server/configuration.nix index 7d928a7..9224d1b 100644 --- a/systems/amd-server/configuration.nix +++ b/systems/amd-server/configuration.nix @@ -48,6 +48,7 @@ shared.enable = true; #games.enable = true; #basics.enable = true; + stylix.enable = true; }; }; mainUser.layout = "de";