]> Git — Sourcephile - julm/julm-nix.git/blob - nixos/profiles/graphical.nix
reuse: update metadata
[julm/julm-nix.git] / nixos / profiles / graphical.nix
1 { pkgs, lib, config, ... }:
2 {
3 console.useXkbConfig = lib.mkDefault true;
4 environment.systemPackages = [
5 pkgs.paprefs
6 ];
7 hardware.pulseaudio.enable = lib.mkDefault true;
8 # Allow members of the "adbusers" group to mount Android devices via MTP.
9 programs.adb.enable = true;
10 programs.dconf.enable = true;
11 services.dbus.packages = [ pkgs.dconf ];
12 services.gvfs.enable = lib.mkDefault true;
13 sound.enable = lib.mkDefault true;
14
15 services.xserver = {
16 enable = lib.mkDefault true;
17 libinput.enable = lib.mkDefault true;
18 exportConfiguration = lib.mkDefault true; # link /usr/share/X11/ properly
19 desktopManager = {
20 session = [
21 # Let the session be generated by home-manager
22 {
23 name = "home-manager";
24 start = ''
25 ${pkgs.runtimeShell} $HOME/.hm-xsession &
26 waitPID=$!
27 '';
28 }
29 ];
30 xterm.enable = lib.mkDefault false;
31 };
32 displayManager.autoLogin.enable = lib.mkDefault true;
33 };
34 }