1 { pkgs, lib, config, ... }:
4 console.useXkbConfig = mkDefault true;
5 environment.systemPackages = [
6 pkgs.gdk-pixbuf.dev # for gdk-pixbuf-query-loaders
8 pkgs.pulseaudio # for pactl when using pipewire
11 # Improve desktop responsiveness when updating the system.
12 nix.daemonCPUSchedPolicy = "idle";
14 # rtkit is optional but recommended
15 security.rtkit.enable = mkDefault config.services.pipewire.enable;
16 hardware.pulseaudio.enable = false;
19 alsa.enable = mkDefault true;
20 alsa.support32Bit = mkDefault true;
21 pulse.enable = mkDefault true;
24 # Allow members of the "adbusers" group to mount Android devices via MTP.
25 programs.adb.enable = true;
26 programs.dconf.enable = true;
27 services.dbus.packages = [ pkgs.dconf ];
28 services.gvfs.enable = mkDefault true;
29 services.avahi.enable = mkDefault true;
32 enable = mkDefault true;
33 libinput.enable = mkDefault true;
34 exportConfiguration = mkDefault true; # link /usr/share/X11/ properly
37 # Add a session generated by home-manager
39 name = "home-manager";
41 ${pkgs.runtimeShell} $HOME/.hm-xsession &
46 xterm.enable = mkDefault false;
48 displayManager.autoLogin.enable = mkDefault true;
51 services.xserver.gdk-pixbuf.modulePackages = [ pkgs.librsvg ];