mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2024-11-25 16:13:09 +01:00
31 lines
785 B
Nix
31 lines
785 B
Nix
{ pkgs, config, host, ... }:
|
|
|
|
let inherit (import ../../hosts/${host}/options.nix) theKBDVariant
|
|
theKBDLayout theSecondKBDLayout; in
|
|
{
|
|
services.xserver = {
|
|
enable = true;
|
|
xkb = {
|
|
variant = "${theKBDVariant}";
|
|
layout = "${theKBDLayout}, ${theSecondKBDLayout}";
|
|
};
|
|
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
|
|
];
|
|
}
|