mirror of
https://github.com/ellmau/nixos.git
synced 2025-12-20 09:39:39 +01:00
26 lines
470 B
Nix
26 lines
470 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}:
|
|
with lib; {
|
|
config = let
|
|
cfg = config.elss.graphical.xmonad;
|
|
in
|
|
mkIf cfg.enable {
|
|
services = {
|
|
xserver = {
|
|
enable = true;
|
|
windowManager.xmonad.enable = true;
|
|
layout = "us";
|
|
xkbOptions = "eurosign:e";
|
|
};
|
|
gnome.gnome-keyring.enable = true;
|
|
|
|
printing.enable = true;
|
|
};
|
|
security.pam.services.lightdm.enableGnomeKeyring = true;
|
|
};
|
|
}
|