diff --git a/flake.lock b/flake.lock index a170199..29beafb 100644 --- a/flake.lock +++ b/flake.lock @@ -410,6 +410,24 @@ } }, "flake-parts_2": { + "inputs": { + "nixpkgs-lib": "nixpkgs-lib" + }, + "locked": { + "lastModified": 1765495779, + "narHash": "sha256-MhA7wmo/7uogLxiewwRRmIax70g6q1U/YemqTGoFHlM=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "5635c32d666a59ec9a55cab87e898889869f7b71", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-parts_3": { "inputs": { "nixpkgs-lib": [ "stylix", @@ -1412,6 +1430,25 @@ "type": "github" } }, + "nix-gaming": { + "inputs": { + "flake-parts": "flake-parts_2", + "nixpkgs": "nixpkgs_4" + }, + "locked": { + "lastModified": 1765677811, + "narHash": "sha256-35xcopucfVwsD51Qbzwotj2c38hLtlNadwk0Qrl3LvM=", + "owner": "fufexan", + "repo": "nix-gaming", + "rev": "b94559105b220cfcb1a25c43d75b86968f5edb98", + "type": "github" + }, + "original": { + "owner": "fufexan", + "repo": "nix-gaming", + "type": "github" + } + }, "nix-github-actions": { "inputs": { "nixpkgs": [ @@ -1531,6 +1568,21 @@ "type": "github" } }, + "nixpkgs-lib": { + "locked": { + "lastModified": 1761765539, + "narHash": "sha256-b0yj6kfvO8ApcSE+QmA6mUfu8IYG6/uU28OFn4PaC8M=", + "owner": "nix-community", + "repo": "nixpkgs.lib", + "rev": "719359f4562934ae99f5443f20aa06c2ffff91fc", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "nixpkgs.lib", + "type": "github" + } + }, "nixpkgs-stable": { "locked": { "lastModified": 1764939437, @@ -1580,6 +1632,22 @@ } }, "nixpkgs_4": { + "locked": { + "lastModified": 1765457389, + "narHash": "sha256-ddhDtNYvleZeYF7g7TRFSmuQuZh7HCgqstg5YBGwo5s=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "f997fa0f94fb1ce55bccb97f60d41412ae8fde4c", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_5": { "locked": { "lastModified": 1765186076, "narHash": "sha256-hM20uyap1a0M9d344I692r+ik4gTMyj60cQWO+hAYP8=", @@ -1777,9 +1845,10 @@ "nbfc-linux": "nbfc-linux", "neovim-nightly-overlay": "neovim-nightly-overlay", "nix-flatpak": "nix-flatpak", + "nix-gaming": "nix-gaming", "nix-index-database": "nix-index-database", "nix-on-droid": "nix-on-droid", - "nixpkgs": "nixpkgs_4", + "nixpkgs": "nixpkgs_5", "note": "note", "stylix": "stylix", "upfast": "upfast", @@ -1848,7 +1917,7 @@ "base16-helix": "base16-helix", "base16-vim": "base16-vim", "firefox-gnome-theme": "firefox-gnome-theme", - "flake-parts": "flake-parts_2", + "flake-parts": "flake-parts_3", "gnome-shell": "gnome-shell", "nixpkgs": [ "nixpkgs" diff --git a/flake.nix b/flake.nix index 866753c..3d94b98 100644 --- a/flake.nix +++ b/flake.nix @@ -134,6 +134,9 @@ url = "github:0xc000022070/zen-browser-flake"; inputs.nixpkgs.follows = "nixpkgs"; }; + + # Some gaming related stuff ( actual osu! ) + nix-gaming.url = "github:fufexan/nix-gaming"; }; outputs = { diff --git a/hosts/skadi/configuration.nix b/hosts/skadi/configuration.nix index ad81c6b..3780de5 100644 --- a/hosts/skadi/configuration.nix +++ b/hosts/skadi/configuration.nix @@ -270,6 +270,7 @@ "https://nix-community.cachix.org" "https://hyprland.cachix.org" "https://ezkea.cachix.org" + "https://nix-gaming.cachix.org" ]; trusted-substituters = [ "https://hyprland.cachix.org" @@ -278,6 +279,7 @@ "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" "ezkea.cachix.org-1:ioBmUbJTZIKsHmWWXPe1FSFbeVe+afhfgqgTSNd34eI=" + "nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4=" ]; }; diff --git a/modules/linux/home-manager/gaming.nix b/modules/linux/home-manager/gaming.nix index 12a4f58..4466005 100644 --- a/modules/linux/home-manager/gaming.nix +++ b/modules/linux/home-manager/gaming.nix @@ -1,5 +1,6 @@ { config, + inputs, pkgs, lib, ... @@ -17,6 +18,7 @@ itch wineWowPackages.staging osu-lazer-bin + inputs.nix-gaming.packages.${pkgs.stdenv.hostPlatform.system}.osu-stable gzdoom qzdl xonotic