nixos/home/default.nix

28 lines
652 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 = [
2024-02-27 11:12:40 +00:00
./editor/neovim
2024-02-27 08:58:20 +00:00
./programs/firefox
2024-02-27 10:59:28 +00:00
./programs/tmux
2024-02-27 09:09:03 +00:00
./zsh
2024-02-27 09:15:40 +00:00
./packages
2024-02-27 20:52:14 +00:00
./hyprland
2024-02-27 08:58:20 +00:00
];
firefox.enable = true;
2024-02-27 10:59:28 +00:00
tmux.enable = true;
2024-02-27 20:52:14 +00:00
hyprland.enable = true;
2024-02-27 08:58:20 +00:00
home = {
username = "${user}";
homeDirectory = "/home/${user}";
stateVersion = "23.11";
};
programs.home-manager.enable = true;
};
};
}