nixos-config/home/default.nix
2022-12-03 21:57:30 -05:00

37 lines
801 B
Nix

{ self, inputs, config, ... }:
{
flake = {
homeModules = {
common = {
home.stateVersion = "22.11";
imports = [
./tmux.nix
./neovim.nix
./emacs.nix
./starship.nix
./terminal.nix
./direnv.nix
];
};
common-linux = {
imports = [
self.homeModules.common
./vscode-server.nix
];
programs.bash.enable = true;
};
common-darwin = {
imports = [
self.homeModules.common
];
programs.zsh.enable = true;
# To put nix and home-manager-installed packages in PATH.
home.sessionPath = [
"/etc/profiles/per-user/$USER/bin"
"/run/current-system/sw/bin"
];
};
};
};
}