summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorAmir Saeid <amir@glgdgt.com>2026-03-08 21:55:48 +0000
committerAmir Saeid <amir@glgdgt.com>2026-03-08 21:55:48 +0000
commit9d6cd1464952a7c202724a95fe18813fd0310c60 (patch)
treebe9a7fa6e68f70e3abd53fee83eea2dc9cba4908 /flake.nix
parent476d3ae96a028731368c673f1715bf6e98c3fc7c (diff)
Add nixGL
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index 07234b8..68ba540 100644
--- a/flake.nix
+++ b/flake.nix
@@ -12,9 +12,12 @@
flake-utils = {
url = "github:numtide/flake-utils";
};
+ nixgl = {
+ url = "github:nix-community/nixGL";
+ };
};
- outputs = { self, nixpkgs, home-manager, unstable, flake-utils, ... }:
+ outputs = { self, nixpkgs, home-manager, unstable, flake-utils, nixgl, ... }:
let
mkExtraArgs = system: {
unstablePkgs = import unstable {
@@ -34,6 +37,7 @@
mkHostConfig = { hostname, system ? "aarch64-darwin" }: {
pkgs = import nixpkgs {
inherit system;
+ overlays = [ nixgl.overlay ];
config = {
allowUnfree = false;
};