From ee44a2dafd7875c9e81a8131c42a27586fb9ea21 Mon Sep 17 00:00:00 2001 From: beatzaplenty Date: Tue, 22 Jul 2025 14:09:08 +1000 Subject: [PATCH] modified: flake.nix --- flake.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) 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 {