diff --git a/flake.lock b/flake.lock index 6827d7e..cc940d3 100644 --- a/flake.lock +++ b/flake.lock @@ -605,6 +605,21 @@ "type": "github" } }, + "nur": { + "locked": { + "lastModified": 1729696174, + "narHash": "sha256-3eW+rOlHyL5umNzwDH5TmsewBWI0y7zoo2t1jjtBUtk=", + "owner": "nix-community", + "repo": "NUR", + "rev": "210fc3297340f3b1151780a73c4e91ce67d44db1", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "NUR", + "type": "github" + } + }, "pre-commit-hooks": { "inputs": { "flake-compat": "flake-compat", @@ -638,6 +653,7 @@ "hyprland": "hyprland", "matugen": "matugen", "nixpkgs": "nixpkgs_4", + "nur": "nur", "sops-nix": "sops-nix", "spicetify-nix": "spicetify-nix", "wezterm": "wezterm" @@ -672,11 +688,11 @@ "nixpkgs-stable": "nixpkgs-stable_2" }, "locked": { - "lastModified": 1729669122, - "narHash": "sha256-SpS3rSwYcskdOpx+jeCv1lcZDdkT/K5qT8dlenCBQ8c=", + "lastModified": 1729695320, + "narHash": "sha256-Fm4cGAlaDwekQvYX0e6t0VjT6YJs3fRXtkyuE4/NzzU=", "owner": "Mic92", "repo": "sops-nix", - "rev": "a4c33bfecb93458d90f9eb26f1cf695b47285243", + "rev": "d089e742fb79259b9c4dd9f18e9de1dd4fa3c1ec", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index fa0da28..2a72aab 100644 --- a/flake.nix +++ b/flake.nix @@ -24,6 +24,7 @@ inputs = { nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable"; + nur.url = "github:nix-community/NUR"; ags = { url = "github:Aylur/ags"; @@ -56,7 +57,7 @@ hyprland.url = "github:hyprwm/Hyprland"; }; - outputs = { self, nixpkgs, chaotic, home-manager, ... }@inputs: + outputs = { self, nixpkgs, chaotic, nur, home-manager, ... }@inputs: let system = "x86_64-linux"; in { diff --git a/modules/nixos/games/default.nix b/modules/nixos/games/default.nix index dc6b619..d0a74ce 100644 --- a/modules/nixos/games/default.nix +++ b/modules/nixos/games/default.nix @@ -1,4 +1,13 @@ -{ config, pkgs, ... }: { +{ config, pkgs, inputs, ... }: { + + nixpkgs = { + overlays = [ + inputs.nur.overlay + ]; + config = { + allowUnfree = true; + }; + }; environment.systemPackages = with pkgs; [ protonup-qt @@ -6,6 +15,7 @@ osu-lazer-bin obs-studio davinci-resolve + nur.repos.reedrw.jkps ]; programs = {