2024-02-06 04:46:24 +01:00
|
|
|
{ pkgs, config, ... }:
|
2024-01-23 02:23:28 +01:00
|
|
|
|
2024-02-06 04:46:24 +01:00
|
|
|
let inherit (import ../../options.nix) theKBDLayout; in
|
2024-01-23 02:23:28 +01:00
|
|
|
{
|
2024-01-23 02:38:18 +01:00
|
|
|
services.xserver = {
|
|
|
|
enable = true;
|
2024-02-05 21:25:46 +01:00
|
|
|
xkb = {
|
|
|
|
variant = "";
|
|
|
|
layout = "${theKBDLayout}";
|
|
|
|
};
|
2024-01-23 02:38:18 +01:00
|
|
|
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
|
|
|
}
|