116 lines
3 KiB
Nix
116 lines
3 KiB
Nix
|
{
|
||
|
lib,
|
||
|
inputs,
|
||
|
pkgs,
|
||
|
self,
|
||
|
username,
|
||
|
...
|
||
|
}: let
|
||
|
mkNixPak = inputs.nixpak.lib.nixpak {
|
||
|
inherit (pkgs) lib;
|
||
|
inherit pkgs;
|
||
|
};
|
||
|
in {
|
||
|
home-manager = {
|
||
|
useUserPackages = true;
|
||
|
useGlobalPkgs = true;
|
||
|
extraSpecialArgs = {inherit inputs self mkNixPak;};
|
||
|
users.${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 username;
|
||
|
homeDirectory = "/home/${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";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|