nixos/home/default.nix

35 lines
858 B
Nix
Raw Normal View History

2024-02-29 09:17:13 +00:00
{ pkgs, inputs, self, user, ... }: {
2024-02-27 08:58:20 +00:00
imports = [ inputs.home-manager.nixosModules.home-manager ];
home-manager = {
useUserPackages = true;
2024-02-27 21:20:00 +00:00
useGlobalPkgs = true;
2024-02-29 09:17:13 +00:00
extraSpecialArgs = { inherit pkgs inputs user; };
users.${user} = { pkgs, ... }: {
2024-02-27 08:58:20 +00:00
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-03-02 20:46:31 +00:00
./programs/dunst
./programs/kitty
2024-03-03 05:33:49 +00:00
./programs/rofi
2024-03-05 00:22:53 +00:00
./programs/obs-studio
2024-03-02 22:25:58 +00:00
./scripts
2024-02-27 09:09:03 +00:00
./zsh
2024-02-27 09:15:40 +00:00
./packages
2024-02-27 21:20:00 +00:00
./hyprland
2024-03-04 07:14:08 +00:00
./ssh
2024-03-05 08:27:58 +00:00
./services/backup-home.nix
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;
};
};
}