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 # rtkit is optional but recommended
12 security.rtkit.enable = mkDefault config.services.pipewire.enable;
13 hardware.pulseaudio.enable = false;
16 alsa.enable = mkDefault true;
17 alsa.support32Bit = mkDefault true;
18 pulse.enable = mkDefault true;
21 # Allow members of the "adbusers" group to mount Android devices via MTP.
22 programs.adb.enable = true;
23 programs.dconf.enable = true;
24 services.dbus.packages = [ pkgs.dconf ];
25 services.gvfs.enable = mkDefault true;
26 services.avahi.enable = mkDefault true;
28 services.libinput.enable = mkDefault true;
30 enable = mkDefault true;
31 exportConfiguration = mkDefault true; # link /usr/share/X11/ properly
34 # Add a session generated by home-manager
36 name = "home-manager";
38 ${pkgs.runtimeShell} $HOME/.hm-xsession &
43 xterm.enable = mkDefault false;
47 services.displayManager = {
48 autoLogin.enable = mkDefault true;
51 services.xserver.gdk-pixbuf.modulePackages = [ pkgs.librsvg ];