dotfiles/lib/shared/home-manager.nix

34 lines
679 B
Nix

{
inputs,
pkgs,
username,
self,
}:
let
pkgsUnstable = inputs.nixpkgs-unstable.legacyPackages.${pkgs.system};
in
{
home.username = "${username}";
home.homeDirectory = "/home/${username}";
home.stateVersion = "22.05";
programs.home-manager.enable = true;
imports = [
(import ./modules/git.nix { inherit inputs pkgs pkgsUnstable; })
(import ./modules/neovim.nix { inherit inputs; })
./modules/bat.nix
./modules/bin.nix
./modules/direnv.nix
./modules/fzf.nix
./modules/lsd.nix
./modules/pet.nix
./modules/phpactor.nix
./modules/ripgrep.nix
./modules/syncthing.nix
./modules/tmux.nix
./modules/zsh.nix
];
}