2024-01-23 03:02:48 +01:00
|
|
|
{ pkgs, config, theKBDLayout, ... }:
|
2024-01-23 02:23:28 +01:00
|
|
|
|
|
|
|
{
|
2024-01-23 02:38:18 +01:00
|
|
|
services.xserver = {
|
|
|
|
enable = true;
|
2024-01-23 03:02:48 +01:00
|
|
|
layout = "${theKBDLayout}";
|
2024-01-23 02:38:18 +01:00
|
|
|
xkbVariant = "";
|
|
|
|
libinput.enable = true;
|
|
|
|
displayManager.sddm = {
|
2024-01-23 02:23:28 +01:00
|
|
|
enable = true;
|
|
|
|
autoNumlock = true;
|
|
|
|
wayland.enable = true;
|
2024-01-23 06:46:45 +01:00
|
|
|
theme = "tokyo-night-sddm";
|
2024-01-23 02:38:18 +01:00
|
|
|
};
|
2024-01-23 02:23:28 +01:00
|
|
|
};
|
2024-01-23 06:16:50 +01:00
|
|
|
|
2024-01-23 06:46:45 +01:00
|
|
|
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
|
2024-01-23 06:16:50 +01:00
|
|
|
];
|
2024-01-23 02:23:28 +01:00
|
|
|
}
|