From 43568736c39b0a05602e54550b85c440b3378775 Mon Sep 17 00:00:00 2001 From: isabel Date: Fri, 14 Jun 2024 16:30:47 +0100 Subject: [PATCH] fix(nixos/sddm): use the kde sddm package --- modules/nixos/sddm.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/nixos/sddm.nix b/modules/nixos/sddm.nix index 1f36de10..e14d983b 100644 --- a/modules/nixos/sddm.nix +++ b/modules/nixos/sddm.nix @@ -44,6 +44,7 @@ in config = mkIf enable { services.displayManager.sddm.theme = "catppuccin-${cfg.flavor}"; + environment.systemPackages = [ (pkgs.catppuccin-sddm.override { inherit (cfg) @@ -55,5 +56,12 @@ in ; }) ]; + + assertions = [ + { + assertion = config.services.displayManager.sddm.package != pkgs.kdePackages.sddm; + message = "Not using the kdePackages.sddm package, will cause the theme to fail being applied"; + } + ]; }; }