67 lines
1.7 KiB
Nix
67 lines
1.7 KiB
Nix
{
|
|
lib,
|
|
inputs,
|
|
pkgs,
|
|
self,
|
|
config',
|
|
...
|
|
}: {
|
|
home-manager = {
|
|
useUserPackages = true;
|
|
useGlobalPkgs = true;
|
|
extraSpecialArgs = {inherit inputs self config';};
|
|
users.${config'.username} = {
|
|
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";
|
|
};
|
|
};
|
|
};
|
|
}
|