diff --git a/flake.nix b/flake.nix index e77c2fc..883cc91 100644 --- a/flake.nix +++ b/flake.nix @@ -21,6 +21,26 @@ "github.com=***REMOVED***" ]; }; + homeConfigurations = { + nixos = home-manager.lib.homeManagerConfiguration { + inherit nixpkgs; + + extraSpecialArgs = { inherit inputs; }; + + modules = [ + inputs.firefox-webapp.home-modules.firefox-webapp + ./hosts/nixos/home.nix # this file will now receive inputs + ]; + + configuration = { config, pkgs, ... }: { + programs.firefox.enable = true; + graphical.enable = true; + graphical.webapps = { + # You can also define webapps here if you prefer + }; + }; + }; +}; nixosConfigurations = { # automatically use each host folder by name nixos = nixpkgs.lib.nixosSystem {