niksos/hosts/chmura/home-manager.nix

68 lines
1.7 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
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";
};
};
};
}