niksos/hosts/chmura/home-manager.nix

75 lines
1.9 KiB
Nix

{
lib,
inputs,
pkgs,
self,
config',
...
}: {
home-manager = {
useUserPackages = true;
useGlobalPkgs = true;
extraSpecialArgs = {inherit inputs self config';};
users.${config'.username} = {
imports = [
inputs.neovim-flake.homeManagerModules.default
../../modules/cli/starship.nix
../../modules/cli/zsh.nix
../../modules/tui/btop.nix
../../modules/tui/neovim
];
programs = {
home-manager.enable = true;
direnv = {
enable = true;
nix-direnv.enable = true;
};
};
home = {
inherit (config') username;
homeDirectory = "/home/${config'.username}";
packages = with pkgs; [
git
eza
ripgrep
unzip
trash-cli
dig
xdg-ninja
auto-cpufreq
gnupg
age
fd
asciinema
asciinema-agg
du-dust
file
hyfetch
git-annex
croc
uutils-coreutils
imagemagick
psmisc
nnn
jq
fq
gnumake
gdb
tea
codeberg-cli
progress
parallel
p7zip
xxd
lshw
tree
smartmontools
];
stateVersion = lib.mkDefault "23.11";
};
};
};
}