niksos/hosts/chmura/home-manager.nix

76 lines
1.9 KiB
Nix
Raw Normal View History

2023-09-08 16:10:15 +02:00
{
lib,
inputs,
pkgs,
self,
2023-09-09 00:05:59 +02:00
config',
2023-09-08 16:10:15 +02:00
...
2023-09-09 00:05:59 +02:00
}: {
2023-09-08 16:10:15 +02:00
home-manager = {
useUserPackages = true;
useGlobalPkgs = true;
2023-09-09 00:05:59 +02:00
extraSpecialArgs = {inherit inputs self config';};
users.${config'.username} = {
2023-09-08 16:10:15 +02:00
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 = {
2023-09-09 00:05:59 +02:00
inherit (config') username;
homeDirectory = "/home/${config'.username}";
packages = with pkgs; [
2023-09-08 16:10:15 +02:00
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";
};
};
};
}