- Created common.nix for various configs - Created theme.nix for theme related configs - Moved some code to more logical files - Moved some standalone files into nix multiline strings, in order to inject data
25 lines
553 B
Nix
25 lines
553 B
Nix
{ pkgs, ... }:
|
|
let
|
|
theme = import ../theme.nix;
|
|
flavor = theme.flavor;
|
|
in
|
|
{
|
|
environment.systemPackages = with pkgs; [
|
|
(catppuccin-sddm.override {
|
|
flavor = flavor;
|
|
font = "JetBrainsMono";
|
|
fontSize = "9";
|
|
background = "${../catppuccin_high.png}";
|
|
loginBackground = true;
|
|
})
|
|
];
|
|
|
|
services.displayManager.sddm = {
|
|
enable = true;
|
|
theme = "catppuccin-${flavor}";
|
|
autoNumlock = true; # Enable numlock at login # TODO doesn't work
|
|
wayland.enable = true;
|
|
package = pkgs.kdePackages.sddm;
|
|
};
|
|
}
|