turned nixgl into flake input

This commit is contained in:
John Lancaster
2025-07-06 15:37:04 -05:00
parent 3091004882
commit ee68509b10
2 changed files with 10 additions and 9 deletions

View File

@@ -8,6 +8,10 @@
inputs.nixpkgs.follows = "nixpkgs";
};
_1password-shell-plugins.url = "github:1Password/shell-plugins";
nixgl = {
url = "github:nix-community/nixGL";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, ... }@inputs:
@@ -77,7 +81,10 @@
home-manager = {
useUserPackages = true;
extraSpecialArgs = { inherit inputs; };
extraSpecialArgs = {
inherit inputs;
nixgl-pkgs = inputs.nixgl.packages.${system};
};
users = {
${config.user} = {
imports = mkhomeManagerModules config;