dotfiles/system/shared/home-manager.nix

55 lines
989 B
Nix
Raw Normal View History

2023-10-03 22:04:08 +00:00
{ inputs, pkgs, username, self }:
{
home.username = "${username}";
home.homeDirectory = "/home/${username}";
home.stateVersion = "22.05";
programs.home-manager.enable = true;
2023-11-06 23:48:09 +00:00
imports = [
(import ./modules/neovim.nix { inherit inputs; })
2023-11-06 23:48:09 +00:00
./modules/git.nix
./modules/tmux.nix
./modules/zsh.nix
];
2024-01-25 07:18:14 +00:00
programs.fzf = {
enable = true;
enableZshIntegration = true;
};
programs.bat.enable = true;
home.file."logo.txt" = {
source = pkgs.copyPathToStore "${self}/logo.txt";
target = "logo.txt";
};
programs.nnn.enable = true;
2023-08-29 22:04:12 +00:00
programs.direnv = {
enable = true;
enableZshIntegration = true;
nix-direnv.enable = true;
};
home.sessionPath = [ "$HOME/.config/bin" ];
xdg.configFile."ripgrep/config".text = ''
--follow
--smart-case
'';
xdg.configFile.bin = {
source = ../../bin;
recursive = true;
};
xdg.configFile.phpactor = {
source = ../../config/phpactor;
recursive = true;
};
}