{ description = "Freya Nix Flake"; inputs = { # nixpkgs nixpkgs.url = "github:nixos/nixpkgs/55d15ad12a74eb7d4646254e13638ad0c4128776"; # home manager home-manager.url = "github:nix-community/home-manager/6e5b2d9e8014b5572e3367937a329e7053458d34"; 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 = [ {nixpkgs.overlays = overlays;} ./home.nix { _module.args = { inherit nixgl; }; } ]; }; }; }