Compare commits
	
		
			1 Commits
		
	
	
		
			93052529b8
			...
			reshade-ad
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 9ce216da8f | 
							
								
								
									
										75
									
								
								flake.lock
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										75
									
								
								flake.lock
									
									
									
										generated
									
									
									
								
							@@ -115,18 +115,37 @@
 | 
			
		||||
        "type": "github"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "nixpkgs": {
 | 
			
		||||
    "nix-reshade": {
 | 
			
		||||
      "inputs": {
 | 
			
		||||
        "nixpkgs": "nixpkgs",
 | 
			
		||||
        "treefmt-nix": "treefmt-nix"
 | 
			
		||||
      },
 | 
			
		||||
      "locked": {
 | 
			
		||||
        "lastModified": 1747953325,
 | 
			
		||||
        "narHash": "sha256-y2ZtlIlNTuVJUZCqzZAhIw5rrKP4DOSklev6c8PyCkQ=",
 | 
			
		||||
        "owner": "nixos",
 | 
			
		||||
        "repo": "nixpkgs",
 | 
			
		||||
        "rev": "55d1f923c480dadce40f5231feb472e81b0bab48",
 | 
			
		||||
        "lastModified": 1749858810,
 | 
			
		||||
        "narHash": "sha256-xg/MnKlnI6G/mLrh2apPuXUq8wjYSBbt8RtilM5cutI=",
 | 
			
		||||
        "owner": "LovingMelody",
 | 
			
		||||
        "repo": "nix-reshade",
 | 
			
		||||
        "rev": "e1a7e702b052e4a98a9f15796f048270b2aca679",
 | 
			
		||||
        "type": "github"
 | 
			
		||||
      },
 | 
			
		||||
      "original": {
 | 
			
		||||
        "owner": "nixos",
 | 
			
		||||
        "ref": "nixos-25.05",
 | 
			
		||||
        "owner": "LovingMelody",
 | 
			
		||||
        "repo": "nix-reshade",
 | 
			
		||||
        "type": "github"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "nixpkgs": {
 | 
			
		||||
      "locked": {
 | 
			
		||||
        "lastModified": 1749285348,
 | 
			
		||||
        "narHash": "sha256-frdhQvPbmDYaScPFiCnfdh3B/Vh81Uuoo0w5TkWmmjU=",
 | 
			
		||||
        "owner": "NixOS",
 | 
			
		||||
        "repo": "nixpkgs",
 | 
			
		||||
        "rev": "3e3afe5174c561dee0df6f2c2b2236990146329f",
 | 
			
		||||
        "type": "github"
 | 
			
		||||
      },
 | 
			
		||||
      "original": {
 | 
			
		||||
        "owner": "NixOS",
 | 
			
		||||
        "ref": "nixos-unstable",
 | 
			
		||||
        "repo": "nixpkgs",
 | 
			
		||||
        "type": "github"
 | 
			
		||||
      }
 | 
			
		||||
@@ -163,13 +182,30 @@
 | 
			
		||||
        "type": "github"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "nixpkgs_2": {
 | 
			
		||||
      "locked": {
 | 
			
		||||
        "lastModified": 1747953325,
 | 
			
		||||
        "narHash": "sha256-y2ZtlIlNTuVJUZCqzZAhIw5rrKP4DOSklev6c8PyCkQ=",
 | 
			
		||||
        "owner": "nixos",
 | 
			
		||||
        "repo": "nixpkgs",
 | 
			
		||||
        "rev": "55d1f923c480dadce40f5231feb472e81b0bab48",
 | 
			
		||||
        "type": "github"
 | 
			
		||||
      },
 | 
			
		||||
      "original": {
 | 
			
		||||
        "owner": "nixos",
 | 
			
		||||
        "ref": "nixos-25.05",
 | 
			
		||||
        "repo": "nixpkgs",
 | 
			
		||||
        "type": "github"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "root": {
 | 
			
		||||
      "inputs": {
 | 
			
		||||
        "darwin": "darwin",
 | 
			
		||||
        "ghostty": "ghostty",
 | 
			
		||||
        "home-manager": "home-manager",
 | 
			
		||||
        "nix-flatpak": "nix-flatpak",
 | 
			
		||||
        "nixpkgs": "nixpkgs"
 | 
			
		||||
        "nix-reshade": "nix-reshade",
 | 
			
		||||
        "nixpkgs": "nixpkgs_2"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "systems": {
 | 
			
		||||
@@ -187,6 +223,27 @@
 | 
			
		||||
        "type": "github"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "treefmt-nix": {
 | 
			
		||||
      "inputs": {
 | 
			
		||||
        "nixpkgs": [
 | 
			
		||||
          "nix-reshade",
 | 
			
		||||
          "nixpkgs"
 | 
			
		||||
        ]
 | 
			
		||||
      },
 | 
			
		||||
      "locked": {
 | 
			
		||||
        "lastModified": 1749194973,
 | 
			
		||||
        "narHash": "sha256-eEy8cuS0mZ2j/r/FE0/LYBSBcIs/MKOIVakwHVuqTfk=",
 | 
			
		||||
        "owner": "numtide",
 | 
			
		||||
        "repo": "treefmt-nix",
 | 
			
		||||
        "rev": "a05be418a1af1198ca0f63facb13c985db4cb3c5",
 | 
			
		||||
        "type": "github"
 | 
			
		||||
      },
 | 
			
		||||
      "original": {
 | 
			
		||||
        "owner": "numtide",
 | 
			
		||||
        "repo": "treefmt-nix",
 | 
			
		||||
        "type": "github"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "zig": {
 | 
			
		||||
      "inputs": {
 | 
			
		||||
        "flake-compat": [
 | 
			
		||||
 
 | 
			
		||||
@@ -12,6 +12,7 @@
 | 
			
		||||
      inputs.nixpkgs.follows = "nixpkgs";
 | 
			
		||||
    };
 | 
			
		||||
    ghostty.url = "github:ghostty-org/ghostty";
 | 
			
		||||
    nix-reshade.url = "github:LovingMelody/nix-reshade";
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  outputs = inputs @ {
 | 
			
		||||
 
 | 
			
		||||
@@ -2,6 +2,7 @@
 | 
			
		||||
  config,
 | 
			
		||||
  lib,
 | 
			
		||||
  pkgs,
 | 
			
		||||
  inputs,
 | 
			
		||||
  ...
 | 
			
		||||
}: let
 | 
			
		||||
  cfg = config.gaming;
 | 
			
		||||
@@ -108,6 +109,10 @@ in {
 | 
			
		||||
    ffxiv = {
 | 
			
		||||
      enable = lib.mkEnableOption "Final Fantasy XIV and it's accompanied (unofficial) launcher";
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    reshade = {
 | 
			
		||||
      enable = lib.mkEnableOption "ReShade, a post-processing injector for games and video software";
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  config = {
 | 
			
		||||
@@ -154,6 +159,7 @@ in {
 | 
			
		||||
        cfg.lutris.extraPackages
 | 
			
		||||
      )) ++
 | 
			
		||||
      (lib.optionals cfg.minecraft.enable [pkgs.prismlauncher]) ++
 | 
			
		||||
      (lib.optionals cfg.ffxiv.enable [pkgs.xivlauncher]);
 | 
			
		||||
      (lib.optionals cfg.ffxiv.enable [pkgs.xivlauncher]) ++
 | 
			
		||||
      (lib.optionals cfg.reshade.enable [inputs.packages.${pkgs.system}.reshade]);
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user