zaneyos/config/system/displaymanager.nix
2024-01-22 23:46:45 -06:00

27 lines
631 B
Nix

{ pkgs, config, theKBDLayout, ... }:
{
services.xserver = {
enable = true;
layout = "${theKBDLayout}";
xkbVariant = "";
libinput.enable = true;
displayManager.sddm = {
enable = true;
autoNumlock = true;
wayland.enable = true;
theme = "tokyo-night-sddm";
};
};
environment.systemPackages =
let
sugar = pkgs.callPackage ../pkgs/sddm-sugar-dark.nix {};
tokyo-night = pkgs.libsForQt5.callPackage ../pkgs/sddm-tokyo-night.nix {};
in [
sugar.sddm-sugar-dark # Name: sugar-dark
tokyo-night # Name: tokyo-night-sddm
pkgs.libsForQt5.qt5.qtgraphicaleffects
];
}