diff --git a/flake.lock b/flake.lock index b1931a2..3a0ee96 100644 --- a/flake.lock +++ b/flake.lock @@ -148,6 +148,24 @@ "type": "indirect" } }, + "flake-parts_3": { + "inputs": { + "nixpkgs-lib": "nixpkgs-lib" + }, + "locked": { + "lastModified": 1733312601, + "narHash": "sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, "flake-schemas": { "locked": { "lastModified": 1721999734, @@ -483,6 +501,26 @@ "type": "github" } }, + "nix-gaming": { + "inputs": { + "flake-parts": "flake-parts_3", + "nixpkgs": "nixpkgs_2", + "umu": "umu" + }, + "locked": { + "lastModified": 1733795424, + "narHash": "sha256-1jtgOKNK/lpj3xlc+ZTlIhks3DhSs7UshGjCZg7kgzY=", + "owner": "fufexan", + "repo": "nix-gaming", + "rev": "8563347a85fd3735dec7b22e172c0c5d6f756ea0", + "type": "github" + }, + "original": { + "owner": "fufexan", + "repo": "nix-gaming", + "type": "github" + } + }, "nix-github-actions": { "inputs": { "nixpkgs": [ @@ -522,6 +560,18 @@ "type": "github" } }, + "nixpkgs-lib": { + "locked": { + "lastModified": 1733096140, + "narHash": "sha256-1qRH7uAUsyQI7R1Uwl4T+XvdNv778H0Nb5njNrqvylY=", + "type": "tarball", + "url": "https://github.com/NixOS/nixpkgs/archive/5487e69da40cbd611ab2cadee0b4637225f7cfae.tar.gz" + }, + "original": { + "type": "tarball", + "url": "https://github.com/NixOS/nixpkgs/archive/5487e69da40cbd611ab2cadee0b4637225f7cfae.tar.gz" + } + }, "nixpkgs-stable": { "locked": { "lastModified": 1733384649, @@ -539,6 +589,22 @@ } }, "nixpkgs_2": { + "locked": { + "lastModified": 1733376361, + "narHash": "sha256-aLJxoTDDSqB+/3orsulE6/qdlX6MzDLIITLZqdgMpqo=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "929116e316068c7318c54eb4d827f7d9756d5e9c", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_3": { "locked": { "lastModified": 1733581040, "narHash": "sha256-Qn3nPMSopRQJgmvHzVqPcE3I03zJyl8cSbgnnltfFDY=", @@ -580,10 +646,11 @@ "neovim-overlay": "neovim-overlay", "niri": "niri", "nix-darwin": "nix-darwin", - "nixpkgs": "nixpkgs_2", + "nix-gaming": "nix-gaming", + "nixpkgs": "nixpkgs_3", "repo-clone": "repo-clone", "sops-nix": "sops-nix", - "umu": "umu", + "umu": "umu_2", "zdwm": "zdwm" } }, @@ -623,6 +690,31 @@ } }, "umu": { + "inputs": { + "nixpkgs": [ + "nix-gaming", + "nixpkgs" + ] + }, + "locked": { + "dir": "packaging/nix", + "lastModified": 1733509971, + "narHash": "sha256-LZIrb7HNWyLMU+dSI4fhbo2dMzJbbKKFWwYOpJwVXKE=", + "ref": "refs/heads/main", + "rev": "562e3900eebde0fb276dd2f425c097c8b44ccb92", + "revCount": 865, + "submodules": true, + "type": "git", + "url": "https://github.com/Open-Wine-Components/umu-launcher/?dir=packaging/nix" + }, + "original": { + "dir": "packaging/nix", + "submodules": true, + "type": "git", + "url": "https://github.com/Open-Wine-Components/umu-launcher/?dir=packaging/nix" + } + }, + "umu_2": { "inputs": { "nixpkgs": [ "nixpkgs" diff --git a/flake.nix b/flake.nix index 25cfe3b..d485155 100644 --- a/flake.nix +++ b/flake.nix @@ -10,6 +10,7 @@ sops-nix = { url = "github:mic92/sops-nix"; inputs.nixpkgs.follows = "nixpkgs"; }; dunst-theme = { url = "github:d2718nis/rose-pine-dunst"; flake = false; }; niri = { url = "github:sodiboo/niri-flake"; inputs.nixpkgs.follows = "nixpkgs"; }; + nix-gaming.url = "github:fufexan/nix-gaming"; nix-darwin = { url = "github:LnL7/nix-darwin"; inputs.nixpkgs.follows = "nixpkgs"; }; diff --git a/hosts/snowhawk/configuration.nix b/hosts/snowhawk/configuration.nix index 9c8c320..ca98fe1 100644 --- a/hosts/snowhawk/configuration.nix +++ b/hosts/snowhawk/configuration.nix @@ -80,6 +80,11 @@ killall linux-manual + + (inputs.nix-gaming.packages.${pkgs.system}.star-citizen.override { + useUmu = true; + location = "/data/star-citizen"; + }) ]; fonts.packages = with pkgs; [