diff options
Diffstat (limited to 'home/nix/flake.nix')
-rw-r--r-- | home/nix/flake.nix | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/home/nix/flake.nix b/home/nix/flake.nix index e1f3527..3e2afb1 100644 --- a/home/nix/flake.nix +++ b/home/nix/flake.nix @@ -15,31 +15,31 @@ }; outputs = { - self, nixpkgs, home-manager, nixgl, ... - } @ inputs: let - inherit (self) outputs; + }: + let system = "x86_64-linux"; - pkgs = nixpkgs.legacyPackages.${system}; - overlays = [ - nixgl.overlay - ]; + username = "freya"; in { - homeConfigurations."freya" = + homeConfigurations.${username} = home-manager.lib.homeManagerConfiguration { - inherit pkgs; - extraSpecialArgs = {inherit inputs outputs;}; + pkgs = nixpkgs.legacyPackages.${system}; modules = [ - {nixpkgs.overlays = overlays;} ./home.nix - { + ({ _module.args = { inherit nixgl; }; - } + nixpkgs.overlays = [ nixgl.overlay ]; + home = { + inherit username; + homeDirectory = "/home/${username}"; + stateVersion = "25.05"; + }; + }) ]; }; }; |