Moved modeules into shared

This commit is contained in:
2025-04-14 23:30:50 +02:00
parent 3b6a3e5a66
commit 9611b8bb8d
51 changed files with 58 additions and 406 deletions

22
shared/modules/sddm.nix Normal file
View File

@ -0,0 +1,22 @@
{ pkgs, theme, ... }:
let
flavor = theme.flavor;
in
{
environment.systemPackages = with pkgs; [
(catppuccin-sddm.override {
flavor = flavor;
font = theme.nerdFont;
fontSize = "9";
background = builtins.toString ../assets/catppuccin_high.png;
loginBackground = true;
})
];
services.displayManager.sddm = {
enable = true;
theme = "catppuccin-${flavor}";
wayland.enable = true;
package = pkgs.kdePackages.sddm;
};
}