From d631060df3b279d98f05399681fa17559bf1dd6a Mon Sep 17 00:00:00 2001 From: traxys Date: Mon, 18 Aug 2025 11:24:22 +0200 Subject: [PATCH] Add support for nixGL --- flake.lock | 112 +++++++++++++++++++++++++++++++++-------- flake.nix | 1 + hostconfig/default.nix | 1 + 3 files changed, 92 insertions(+), 22 deletions(-) diff --git a/flake.lock b/flake.lock index 3528cfd..6b740b4 100644 --- a/flake.lock +++ b/flake.lock @@ -255,6 +255,24 @@ "inputs": { "systems": "systems_11" }, + "locked": { + "lastModified": 1710146030, + "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "flake-utils_11": { + "inputs": { + "systems": "systems_12" + }, "locked": { "lastModified": 1705309234, "narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=", @@ -269,9 +287,9 @@ "type": "github" } }, - "flake-utils_11": { + "flake-utils_12": { "inputs": { - "systems": "systems_12" + "systems": "systems_13" }, "locked": { "lastModified": 1694529238, @@ -287,9 +305,9 @@ "type": "github" } }, - "flake-utils_12": { + "flake-utils_13": { "inputs": { - "systems": "systems_13" + "systems": "systems_14" }, "locked": { "lastModified": 1681202837, @@ -430,14 +448,14 @@ }, "flake-utils_9": { "inputs": { - "systems": "systems_10" + "systems": "systems_9" }, "locked": { - "lastModified": 1710146030, - "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", + "lastModified": 1731533236, + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", "owner": "numtide", "repo": "flake-utils", - "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", "type": "github" }, "original": { @@ -785,6 +803,25 @@ "type": "github" } }, + "nixgl": { + "inputs": { + "flake-utils": "flake-utils_8", + "nixpkgs": "nixpkgs_12" + }, + "locked": { + "lastModified": 1752054764, + "narHash": "sha256-Ob/HuUhANoDs+nvYqyTKrkcPXf4ZgXoqMTQoCK0RFgQ=", + "owner": "nix-community", + "repo": "nixGL", + "rev": "a8e1ce7d49a149ed70df676785b07f63288f53c5", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "nixGL", + "type": "github" + } + }, "nixpkgs": { "locked": { "lastModified": 1746152631, @@ -892,6 +929,21 @@ } }, "nixpkgs_12": { + "locked": { + "lastModified": 1746378225, + "narHash": "sha256-OeRSuL8PUjIfL3Q0fTbNJD/fmv1R+K2JAOqWJd3Oceg=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "93e8cdce7afc64297cfec447c311470788131cd9", + "type": "github" + }, + "original": { + "owner": "nixos", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_13": { "locked": { "lastModified": 1753429684, "narHash": "sha256-9h7+4/53cSfQ/uA3pSvCaBepmZaz/dLlLVJnbQ+SJjk=", @@ -907,7 +959,7 @@ "type": "github" } }, - "nixpkgs_13": { + "nixpkgs_14": { "locked": { "lastModified": 1706487304, "narHash": "sha256-LE8lVX28MV2jWJsidW13D2qrHU/RUUONendL2Q/WlJg=", @@ -923,7 +975,7 @@ "type": "github" } }, - "nixpkgs_14": { + "nixpkgs_15": { "locked": { "lastModified": 1681358109, "narHash": "sha256-eKyxW4OohHQx9Urxi7TQlFBTDWII+F+x2hklDOQPB50=", @@ -939,7 +991,7 @@ "type": "github" } }, - "nixpkgs_15": { + "nixpkgs_16": { "locked": { "lastModified": 1747958103, "narHash": "sha256-qmmFCrfBwSHoWw7cVK4Aj+fns+c54EBP8cGqp/yK410=", @@ -1086,7 +1138,7 @@ "nixpkgs" ], "nuschtosSearch": "nuschtosSearch", - "systems": "systems_9" + "systems": "systems_10" }, "locked": { "lastModified": 1753533009, @@ -1125,7 +1177,7 @@ }, "nuschtosSearch": { "inputs": { - "flake-utils": "flake-utils_8", + "flake-utils": "flake-utils_9", "ixx": "ixx", "nixpkgs": [ "nixvim", @@ -1148,7 +1200,7 @@ }, "raclette": { "inputs": { - "flake-utils": "flake-utils_9", + "flake-utils": "flake-utils_10", "hyperfine": "hyperfine", "naersk": [ "naersk" @@ -1174,7 +1226,7 @@ }, "roaming_proxy": { "inputs": { - "flake-utils": "flake-utils_11", + "flake-utils": "flake-utils_12", "naersk": [ "naersk" ], @@ -1213,7 +1265,8 @@ "nix-gaming": "nix-gaming", "nix-index-database": "nix-index-database", "nix-ld": "nix-ld", - "nixpkgs": "nixpkgs_12", + "nixgl": "nixgl", + "nixpkgs": "nixpkgs_13", "nixvim": "nixvim", "nur": "nur", "raclette": "raclette", @@ -1327,8 +1380,8 @@ }, "rust-overlay_5": { "inputs": { - "flake-utils": "flake-utils_10", - "nixpkgs": "nixpkgs_13" + "flake-utils": "flake-utils_11", + "nixpkgs": "nixpkgs_14" }, "locked": { "lastModified": 1710123130, @@ -1346,8 +1399,8 @@ }, "rust-overlay_6": { "inputs": { - "flake-utils": "flake-utils_12", - "nixpkgs": "nixpkgs_14" + "flake-utils": "flake-utils_13", + "nixpkgs": "nixpkgs_15" }, "locked": { "lastModified": 1699150490, @@ -1475,6 +1528,21 @@ } }, "systems_14": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, + "systems_15": { "locked": { "lastModified": 1689347949, "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", @@ -1611,7 +1679,7 @@ }, "treefmt-nix": { "inputs": { - "nixpkgs": "nixpkgs_15" + "nixpkgs": "nixpkgs_16" }, "locked": { "lastModified": 1753439394, @@ -1688,7 +1756,7 @@ "nixpkgs": [ "nixpkgs" ], - "systems": "systems_14", + "systems": "systems_15", "treefmt-nix": "treefmt-nix_2" }, "locked": { diff --git a/flake.nix b/flake.nix index 899d2e0..d70d844 100644 --- a/flake.nix +++ b/flake.nix @@ -43,6 +43,7 @@ }; gsm.url = "github:traxys/git-series-manager"; niri.url = "github:sodiboo/niri-flake"; + nixgl.url = "github:nix-community/nixGL"; flake-parts.url = "github:hercules-ci/flake-parts"; treefmt-nix.url = "github:numtide/treefmt-nix"; diff --git a/hostconfig/default.nix b/hostconfig/default.nix index 1775fc8..cb5035c 100644 --- a/hostconfig/default.nix +++ b/hostconfig/default.nix @@ -10,6 +10,7 @@ inputs.nur.overlays.default inputs.rust-overlay.overlays.default inputs.comma.overlays.default + inputs.nixgl.overlays.default (final: prev: self.packages.${system}) (final: prev: inputs.nix-gaming.packages.${system}) ];