[Desktop] Refactor configuration

This commit is contained in:
Antoine Viallon 2023-03-15 09:22:48 +01:00
parent cff1f34d05
commit b9dbcfd715
Signed by: aviallon
GPG key ID: 186FC35EDEB25716
8 changed files with 277 additions and 247 deletions

View file

@ -68,6 +68,11 @@ in {
"MESA_GLSL_CACHE_DIR" = cfg.graphics.shaderCache.path + "/mesa";
};
aviallon.programs.allowUnfreeList = [
"steam" "steam-original" "steam-runtime" "steam-run"
];
systemd.tmpfiles.rules = [
(mkTmpDir (cfg.graphics.shaderCache.path + "/nvidia") cfg.graphics.shaderCache.cleanupInterval)
(mkTmpDir (cfg.graphics.shaderCache.path + "/mesa") cfg.graphics.shaderCache.cleanupInterval)