2024-02-06 04:46:24 +01:00
|
|
|
{ pkgs, config, ... }:
|
2024-01-23 02:23:28 +01:00
|
|
|
|
2024-02-13 00:22:06 +01:00
|
|
|
let inherit (import ../../options.nix) theKBDVariant
|
|
|
|
theKBDLayout theSecondKBDLayout; 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 = {
|
2024-02-13 00:22:06 +01:00
|
|
|
variant = "${theKBDVariant}";
|
|
|
|
layout = "${theKBDLayout}, ${theSecondKBDLayout}";
|
2024-02-05 21:25:46 +01:00
|
|
|
};
|
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
|
|
|
}
|