Personal Nix setup
0
fork

Configure Feed

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

Update flakes

+10 -80
+9 -9
flake.lock
··· 87 87 ] 88 88 }, 89 89 "locked": { 90 - "lastModified": 1735218083, 91 - "narHash": "sha256-MoUAbmXz9TEr7zlKDRO56DBJHe30+7B5X7nhXm+Vpc8=", 90 + "lastModified": 1736085891, 91 + "narHash": "sha256-bTl9fcUo767VaSx4Q5kFhwiDpFQhBKna7lNbGsqCQiA=", 92 92 "owner": "lnl7", 93 93 "repo": "nix-darwin", 94 - "rev": "bc03f7818771a75716966ce8c23110b715eff2aa", 94 + "rev": "ba9b3173b0f642ada42b78fb9dfc37ca82266f6c", 95 95 "type": "github" 96 96 }, 97 97 "original": { ··· 489 489 }, 490 490 "nixos-hardware": { 491 491 "locked": { 492 - "lastModified": 1735388221, 493 - "narHash": "sha256-e5IOgjQf0SZcFCEV/gMGrsI0gCJyqOKShBQU0iiM3Kg=", 492 + "lastModified": 1736283893, 493 + "narHash": "sha256-BG1FfTexFwNty5VhYjaQLMR6CMPfI3QRcaZrFQYu2EM=", 494 494 "owner": "NixOS", 495 495 "repo": "nixos-hardware", 496 - "rev": "7c674c6734f61157e321db595dbfcd8523e04e19", 496 + "rev": "4f339f6be2b61662f957c2ee9eda0fa597d8a6d6", 497 497 "type": "github" 498 498 }, 499 499 "original": { ··· 505 505 }, 506 506 "nixpkgs": { 507 507 "locked": { 508 - "lastModified": 1735268880, 509 - "narHash": "sha256-7QEFnKkzD13SPxs+UFR5bUFN2fRw+GlL0am72ZjNre4=", 508 + "lastModified": 1736166416, 509 + "narHash": "sha256-U47xeACNBpkSO6IcCm0XvahsVXpJXzjPIQG7TZlOToU=", 510 510 "owner": "nixos", 511 511 "repo": "nixpkgs", 512 - "rev": "7cc0bff31a3a705d3ac4fdceb030a17239412210", 512 + "rev": "b30f97d8c32d804d2d832ee837d0f1ca0695faa5", 513 513 "type": "github" 514 514 }, 515 515 "original": {
+1 -70
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.15.14-d317492"; 9 - patches = []; 10 - src = pkgs.fetchFromGitHub { 11 - owner = "ValveSoftware"; 12 - repo = "gamescope"; 13 - rev = "d3174928d47f7e353e7daca63cf882d65660cc7c"; 14 - fetchSubmodules = true; 15 - hash = "sha256-94qvOyDARFQXHw8bhWOHXGsxEBqd/1LYdCatxSifaWA="; 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 - 30 - vk-hdr-layer = with pkgs; stdenv.mkDerivation rec { 31 - pname = "vk-hdr-layer"; 32 - version = "2799ab320b6d4cd43a493c2f3a6c4670d647171c"; 33 - src = fetchFromGitHub { 34 - owner = "Zamundaaa"; 35 - repo = "VK_hdr_layer"; 36 - rev = "2799ab320b6d4cd43a493c2f3a6c4670d647171c"; 37 - hash = "sha256-j9IXzsC6EIHA3nuD2/iZttcw28CcES+ZzA7e2DgQ5Ks="; 38 - }; 39 - nativeBuildInputs = [ 40 - meson 41 - ninja 42 - pkg-config 43 - ]; 44 - buildInputs = [ 45 - vulkan-headers 46 - vulkan-loader 47 - wayland 48 - wayland-scanner 49 - xorg.libX11 50 - ]; 51 - postPatch = let 52 - vkroots = fetchFromGitHub { 53 - owner = "misyltoad"; 54 - repo = "vkroots"; 55 - rev = "5106d8a0df95de66cc58dc1ea37e69c99afc9540"; 56 - hash = "sha256-SgHFIWjifZ5L10/1RL7lXoX6evS5LsFvFKWMhHEHN0M="; 57 - }; 58 - in '' 59 - rm -rf subprojects/vkroots 60 - cp -r ${vkroots} subprojects/vkroots 61 - chmod -R +w subprojects/vkroots 62 - ''; 63 - meta = { 64 - maintainers = with lib.maintainers; [ xddxdd ]; 65 - description = "Vulkan layer utilizing a small color management / HDR protocol for experimentation"; 66 - homepage = "https://github.com/Zamundaaa/VK_hdr_layer"; 67 - license = lib.licenses.mit; 68 - }; 69 - }; 70 6 in { 71 7 options.modules.apps.games = { 72 8 enable = mkOption { ··· 96 32 DXVK_HDR = "1"; 97 33 }; 98 34 99 - hardware = { 100 - steam-hardware.enable = true; 101 - graphics.extraPackages = mkIf cfg.games.hdr [ vk-hdr-layer ]; 102 - }; 103 - 35 + hardware.steam-hardware.enable = true; 104 36 users.users."${user}".extraGroups = [ "gamemode" ]; 105 37 services.system76-scheduler.enable = true; 106 38 ··· 114 46 gamemode.enable = true; 115 47 gamescope = { 116 48 enable = true; 117 - package = gamescope; 118 49 env = { 119 50 PROTON_ENABLE_AMD_AGS = "1"; 120 51 ENABLE_HDR_WSI = "1";
-1
modules/desktop/default.nix
··· 45 45 }; 46 46 47 47 hardware = { 48 - pulseaudio.enable = lib.mkForce false; 49 48 steam-hardware.enable = true; 50 49 }; 51 50