modified: flake.nix
This commit is contained in:
20
flake.nix
20
flake.nix
@@ -21,6 +21,26 @@
|
|||||||
"github.com=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"
|
"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 = {
|
nixosConfigurations = {
|
||||||
# automatically use each host folder by name
|
# automatically use each host folder by name
|
||||||
nixos = nixpkgs.lib.nixosSystem {
|
nixos = nixpkgs.lib.nixosSystem {
|
||||||
|
|||||||
Reference in New Issue
Block a user