mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-19 15:15:52 +05:30
36 lines
722 B
Nix
36 lines
722 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
imports = [ ./pipewire.nix
|
|
./dbus.nix
|
|
./gnome-keyring.nix
|
|
./fonts.nix
|
|
];
|
|
|
|
# Configure X11
|
|
services.xserver = {
|
|
enable = true;
|
|
layout = "us";
|
|
xkbVariant = "";
|
|
xkbOptions = "caps:escape";
|
|
windowManager.xmonad = {
|
|
enable = true;
|
|
enableContribAndExtras = true;
|
|
};
|
|
displayManager = {
|
|
lightdm.enable = true;
|
|
defaultSession = "none+xmonad";
|
|
sessionCommands = ''
|
|
xset -dpms
|
|
xset s blank
|
|
xset r rate 350 50
|
|
xset s 300
|
|
${pkgs.lightlocker}/bin/light-locker --idle-hint &
|
|
'';
|
|
};
|
|
libinput = {
|
|
touchpad.disableWhileTyping = true;
|
|
};
|
|
};
|
|
}
|