diff options
Diffstat (limited to '')
-rw-r--r-- | home/nix/flake.nix | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/home/nix/flake.nix b/home/nix/flake.nix index 6738db4..e6860c9 100644 --- a/home/nix/flake.nix +++ b/home/nix/flake.nix @@ -8,23 +8,39 @@ # home manager home-manager.url = "github:nix-community/home-manager/release-24.05"; home-manager.inputs.nixpkgs.follows = "nixpkgs"; + + # nixgl + nixgl.url = "github:nix-community/nixGL/310f8e49a149e4c9ea52f1adf70cdc768ec53f8a"; + nixgl.inputs.nixpkgs.follows = "nixpkgs"; }; outputs = { self, nixpkgs, home-manager, + nixgl, ... } @ inputs: let inherit (self) outputs; system = "x86_64-linux"; pkgs = nixpkgs.legacyPackages.${system}; + overlays = [ + nixgl.overlay + ]; in { homeConfigurations."freya" = home-manager.lib.homeManagerConfiguration { inherit pkgs; extraSpecialArgs = {inherit inputs outputs;}; - modules = [./home.nix]; + modules = [ + {nixpkgs.overlays = overlays;} + ./home.nix + { + _module.args = { + inherit nixgl; + }; + } + ]; }; }; } |