nixos/home/default.nix

23 lines
536 B
Nix
Raw Normal View History

2024-02-27 08:58:20 +00:00
{ 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
2024-02-27 09:09:03 +00:00
./zsh
2024-02-27 09:15:40 +00:00
./packages
2024-02-27 08:58:20 +00:00
];
firefox.enable = true;
home = {
username = "${user}";
homeDirectory = "/home/${user}";
stateVersion = "23.11";
};
programs.home-manager.enable = true;
};
};
}