Skip to content

Commit

Permalink
fix(nixos/sddm): use the kde sddm package
Browse files Browse the repository at this point in the history
  • Loading branch information
isabelroses committed Jun 16, 2024
1 parent 73e06d5 commit 4356873
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions modules/nixos/sddm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ in

config = mkIf enable {
services.displayManager.sddm.theme = "catppuccin-${cfg.flavor}";

environment.systemPackages = [
(pkgs.catppuccin-sddm.override {
inherit (cfg)
Expand All @@ -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";
}
];
};
}

0 comments on commit 4356873

Please sign in to comment.