niksos/hosts/chmura/home-manager.nix

110 lines
3 KiB
Nix

{
lib,
inputs,
pkgs,
self,
config',
...
}: {
home-manager = {
useUserPackages = true;
useGlobalPkgs = true;
extraSpecialArgs = {inherit inputs self config';};
users.${config'.username} = {
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 = {
inherit (config') username;
homeDirectory = "/home/${config'.username}";
packages = let
fenix = inputs.fenix.packages.${pkgs.system};
in with pkgs; [
git
eza
ripgrep
firejail
zellij
nodejs
unzip
cmake
gcc
trash-cli
dig
nodePackages_latest.pnpm
nodePackages_latest.prisma
prisma-engines
openssl
pkg-config
docker
docker-compose
postgresql
xdg-ninja
auto-cpufreq
gnupg
age
rage
fd
udisks
ffmpeg
ghc
ghcid
cabal-install
yt-dlp
(fenix.complete.withComponents [
"cargo"
"clippy"
"rust-src"
"rustc"
"rustfmt"
])
polkit
asciinema
asciinema-agg
du-dust
appimage-run
file
weechat
hyfetch
git-annex
croc
uutils-coreutils
imagemagick
psmisc
nnn
jq
fq
gnumake
gdb
tea
codeberg-cli
progress
parallel
p7zip
xxd
meson
lshw
tree
smartmontools
];
stateVersion = lib.mkDefault "23.11";
};
};
};
}