diff --git a/flake.nix b/flake.nix index 217b47f..0a81aa3 100644 --- a/flake.nix +++ b/flake.nix @@ -21,6 +21,26 @@ "github.com=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" ]; }; + 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 {