niksos/hosts/chmura/home-manager.nix

70 lines
1.7 KiB
Nix
Raw Normal View History

2023-09-08 16:10:15 +02:00
{
config,
2023-09-08 16:10:15 +02:00
lib,
inputs,
pkgs,
self,
...
}: let
username = config.myOptions.other.system.username;
in {
2023-09-08 16:10:15 +02:00
home-manager = {
useUserPackages = true;
useGlobalPkgs = true;
extraSpecialArgs = {inherit inputs self;};
users.${username} = {
2023-09-08 16:10:15 +02:00
programs = {
home-manager.enable = true;
direnv = {
enable = true;
nix-direnv.enable = true;
};
};
home = {
inherit username;
homeDirectory = "/home/${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";
};
};
};
}