Personal Nix setup
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix latest generation (remove outdated XDG configs)

+1 -44
+1 -1
home/base/xdg.nix
··· 29 29 ]; 30 30 }; 31 31 32 - home.sessionVariables = { 32 + home.sessionVariables = mkIf helpers.isDarwin { 33 33 XDG_RUNTIME_DIR = optionalString (config.xdg.runtimeDir != null) config.xdg.runtimeDir; 34 34 }; 35 35 };
-1
machines/pepper/home.nix
··· 8 8 enable = true; 9 9 discord.enable = true; 10 10 firefox.enable = true; 11 - obsidian.enable = true; 12 11 minecraft.enable = true; 13 12 ghostty.enable = true; 14 13 };
-24
modules/apps/games.nix
··· 3 3 with lib; 4 4 let 5 5 cfg = config.modules.apps; 6 - 7 - gamescope = pkgs.gamescope.overrideAttrs (old: { 8 - version = "3.16.1-f873ec7"; 9 - patches = []; 10 - src = pkgs.fetchFromGitHub { 11 - owner = "ValveSoftware"; 12 - repo = "gamescope"; 13 - rev = "f873ec7868fe84d2850e91148bcbd6d6b19a7443"; 14 - fetchSubmodules = true; 15 - hash = "sha256-ItP9VE4IMgnIPDeDQag+gVZMuoRO0uI6gF2tC4WVObE="; 16 - }; 17 - buildInputs = old.buildInputs ++ [ pkgs.luajit ]; 18 - # See: https://github.com/ValveSoftware/gamescope/pull/1494 19 - NIX_CFLAGS_COMPILE = [ "-fno-fast-math" "-fno-omit-frame-pointer" ]; 20 - patchPhase = '' 21 - substituteInPlace ./src/reshade_effect_manager.cpp \ 22 - --replace-fail "\"/usr\"" "\"$out\"" 23 - substituteInPlace ./src/Utils/Process.cpp \ 24 - --replace-fail "\"gamescopereaper\"" "\"$out/bin/gamescopereaper\"" 25 - patchShebangs ./default_scripts_install.sh 26 - patchShebangs ./subprojects/libdisplay-info/tool/gen-search-table.py 27 - ''; 28 - }); 29 6 in { 30 7 options.modules.apps.games = { 31 8 enable = mkOption { ··· 69 46 gamemode.enable = true; 70 47 gamescope = { 71 48 enable = true; 72 - package = gamescope; 73 49 env = { 74 50 PROTON_ENABLE_AMD_AGS = "1"; 75 51 ENABLE_HDR_WSI = "1";
-18
modules/desktop/xdg.nix
··· 18 18 systemd.user.sessionVariables = { 19 19 "NIXOS_OZONE_WL" = lib.mkDefault "1"; 20 20 "MOZ_ENABLE_WAYLAND" = lib.mkDefault "1"; 21 - "QT_WAYLAND_DISABLE_WINDOWDECORATIONS" = lib.mkDefault "1"; 22 - "QT_WAYLAND_FORCE_DPI" = lib.mkDefault "physical"; 23 - "QT_QPA_PLATFORM" = lib.mkDefault "wayland-egl"; 24 - }; 25 - 26 - xdg = { 27 - mimeApps = { 28 - enable = true; 29 - }; 30 - userDirs = { 31 - enable = true; 32 - createDirectories = true; 33 - }; 34 - systemDirs.data = [ 35 - "/usr/share" 36 - "/var/lib/flatpak/exports/share" 37 - "$HOME/.local/share/flatpak/exports/share" 38 - ]; 39 21 }; 40 22 }; 41 23 };