nixos/home/default.nix
2024-02-27 11:59:28 +01:00

25 lines
586 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
./programs/tmux
./zsh
./packages
];
firefox.enable = true;
tmux.enable = true;
home = {
username = "${user}";
homeDirectory = "/home/${user}";
stateVersion = "23.11";
};
programs.home-manager.enable = true;
};
};
}