diff options
Diffstat (limited to 'home/default.nix')
| -rw-r--r-- | home/default.nix | 46 |
1 files changed, 38 insertions, 8 deletions
diff --git a/home/default.nix b/home/default.nix index da7ca3b..6d157a2 100644 --- a/home/default.nix +++ b/home/default.nix @@ -14,6 +14,7 @@ in { ./desktops ./gtk ./neovim + ./qt ./ssh ./tmux ./zsh @@ -62,6 +63,9 @@ in { # mirrored from system ++ config.extraPackages; + # only enable dconf on desktop + dconf.enable = config.desktops.enable; + xdg = { enable = true; cacheHome = "${config.homePath}/.cache"; @@ -73,6 +77,16 @@ in { "aacs/keydb.cfg" = { source = ../files/keys/bluray.cfg; }; + "pulse/client.conf" = { + text = "cookie-file = ${config.xdg.configHome}/pulse/cookie"; + }; + + # we dont want home-manager to place these + # files into .config/nix, as we use that folder + # for our dotfiles, and we also provide a seperate + # nix.conf that is used for bootstrapping + "nix/nix.conf".enable = false; + "nix/registry.json".enable = false; }; dataFile = { @@ -93,20 +107,31 @@ in { "x-scheme-handler/unknown" = "firefox.desktop"; # images - "image/png" = "imv.desktop"; - "image/jpeg" = "imv.desktop"; - "image/webp" = "imv.desktop"; - "image/tga" = "imv.desktop"; + "image/apng" = "imv.desktop"; + "image/avif" = "imv.desktop"; "image/bmp" = "imv.desktop"; "image/gif" = "imv.desktop"; + "image/jpeg" = "imv.desktop"; + "image/jxl" = "imv.desktop"; + "image/png" = "imv.desktop"; + "image/svg+xml" = "imv.desktop"; + "image/tga" = "imv.desktop"; + "image/tiff" = "imv.desktop"; + "image/webp" = "imv.desktop"; # audio video - "video/mp4" = "mpv.desktop"; - "video/x-msvideo" = "mpv.desktop"; - "video/mkv" = "mpv.desktop"; - "video/webm" = "mpv.desktop"; + "audio/aac" = "mpv.desktop"; "audio/mp3" = "mpv.desktop"; + "audio/mpeg" = "mpv.desktop"; + "audio/ogg" = "mpv.desktop"; "audio/wav" = "mpv.desktop"; + "audio/webm" = "mpv.desktop"; + "video/mkv" = "mpv.desktop"; + "video/mp4" = "mpv.desktop"; + "video/mpeg" = "mpv.desktop"; + "video/ogg" = "mpv.desktop"; + "video/webm" = "mpv.desktop"; + "video/x-msvideo" = "mpv.desktop"; # other "application/pdf" = "org.pwmt.zathura.desktop"; @@ -140,6 +165,7 @@ in { CABAL_DIR = "${config.xdg.configHome}/cabal"; CABAL_CONFIG = "${config.xdg.configHome}/cabal/config"; CARGO_HOME = "${config.xdg.dataHome}/cargo"; + CUDA_CACHE_PATH = "${config.xdg.cacheHome}/nv"; DOCKER_CONFIG = "${config.xdg.configHome}/docker"; DOTNET_CLI_HOME = "${config.xdg.dataHome}/dotnet"; EM_CACHE = "${config.xdg.cacheHome}/emscripten"; @@ -149,7 +175,11 @@ in { JULIA_DEPOT_PATH = "${config.xdg.dataHome}/julia"; LEIN_HOME = "${config.xdg.dataHome}/lein"; MIN_HOME = "${config.xdg.dataHome}/mix"; + MOZ_HOME = "${config.xdg.configHome}/mozilla"; NODE_REPL_HISTORY = "${config.xdg.stateHome}/node_repl_history"; + NPM_CONFIG_INIT_MODULE = "${config.xdg.configHome}/npm/config/npm-init.js"; + NPM_CONFIG_CACHE = "${config.xdg.cacheHome}/npm"; + NPM_CONFIG_TMP = "/tmp/npm"; NUGET_PACKAGES = "${config.xdg.cacheHome}/NuGetPackages"; OPAMROOT = "${config.xdg.dataHome}/opam"; PYTHON_HISTORY = "${config.xdg.stateHome}/python_history"; |