nixos-config/config/modules/home-manager.nix

15 lines
428 B
Nix

{ system, inputs, user, ... }:
{
modules = [
inputs.home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.backupFileExtension = "backup";
home-manager.users.${user} = import ../users/${user};
home-manager.extraSpecialArgs = { inherit user; firefox-addons = inputs.firefox-addons.packages.${system}; };
}
];
}