nix/modules/stuff/sddm.nix

29 lines
589 B
Nix
Raw Normal View History

2024-08-01 21:22:47 +02:00
{ lib, pkgs, config, ...}: let
inherit (lib) mkIf mkEnableOption mkOption;
cfg = config.chuj.stuff.sddm;
in {
options.chuj.stuff.sddm = {
enable = mkEnableOption "sddm";
};
config = mkIf cfg.enable {
services.displayManager = {
# ah fuck this
defaultSession = "none+i3";
sddm = {
enable = true;
theme = "sddm-i3-theme";
settings = {
General = {
InputMethod = "";
};
};
};
};
environment.systemPackages = [
pkgs.sddm-i3-theme
pkgs.libsForQt5.sddm
];
};
}