{ pkgs, config, lib, ... }: with builtins; let nixGL = pkgs.callPackage (fetchTarball "https://github.com/guibou/nixGL/archive/master.tar.gz") { inherit pkgs; }; h = config.home.homeDirectory; in { home.packages = with nixGL; [ (nixGLCommon nixGLIntel) nixGLIntel nixVulkanIntel ]; home.file = { ".pam_environment".text = '' XDG_DATA_DIRS=${h}/.nix-profile/share:/usr/local/share:/usr/share ''; ".config/fontconfig/conf.d/10-nix-fonts.conf".text = '' ~/.nix-profile/share/fonts ''; }; services.mpd = { enable = true; musicDirectory = h + "/Music/Best"; extraConfig = '' audio_output { type "pulse" name "Shared output (pulseaudio)" } audio_output { type "jack" name "Jack output" } ''; }; programs.ncmpcpp.enable = true; services.mpdris2.enable = true; }