21 lines
503 B
Nix
21 lines
503 B
Nix
|
{ inputs, self, user, ...}: {
|
||
|
imports = [ inputs.home-manager.nixosModules.home-manager ];
|
||
|
home-manager = {
|
||
|
useUserPackages = true;
|
||
|
useGlobalPkgs= true;
|
||
|
extraSpecialArgs = { inherit inputs user; };
|
||
|
users.${user} = {
|
||
|
imports = [
|
||
|
./programs/firefox
|
||
|
];
|
||
|
firefox.enable = true;
|
||
|
home = {
|
||
|
username = "${user}";
|
||
|
homeDirectory = "/home/${user}";
|
||
|
stateVersion = "23.11";
|
||
|
};
|
||
|
programs.home-manager.enable = true;
|
||
|
};
|
||
|
};
|
||
|
}
|