mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-19 07:05:51 +05:30
32 lines
628 B
Nix
32 lines
628 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";
|
|
excludePackages = [ pkgs.xterm ];
|
|
displayManager = {
|
|
lightdm.enable = true;
|
|
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;
|
|
};
|
|
};
|
|
}
|