jacekpoz
59febb2149
shoutout to raf for pointing out how retarded this was this was needed very much
69 lines
1.7 KiB
Nix
69 lines
1.7 KiB
Nix
{
|
|
config,
|
|
lib,
|
|
inputs,
|
|
pkgs,
|
|
self,
|
|
...
|
|
}: let
|
|
username = config.myOptions.other.system.username;
|
|
in {
|
|
home-manager = {
|
|
useUserPackages = true;
|
|
useGlobalPkgs = true;
|
|
extraSpecialArgs = {inherit inputs self;};
|
|
users.${username} = {
|
|
programs = {
|
|
home-manager.enable = true;
|
|
direnv = {
|
|
enable = true;
|
|
nix-direnv.enable = true;
|
|
};
|
|
};
|
|
|
|
home = {
|
|
inherit username;
|
|
homeDirectory = "/home/${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";
|
|
};
|
|
};
|
|
};
|
|
}
|