2021-12-13 13:00:48 +00:00
|
|
|
{ config, pkgs, lib, ... }:
|
2021-12-06 22:35:29 +00:00
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
./programs/fish.nix
|
|
|
|
./programs/starship.nix
|
2021-12-12 18:19:44 +00:00
|
|
|
./config/kitty.nix
|
2021-12-06 22:35:29 +00:00
|
|
|
|
|
|
|
./programs/nvim
|
|
|
|
|
|
|
|
./programs/git.nix
|
|
|
|
|
|
|
|
./programs/bat.nix
|
|
|
|
|
|
|
|
./programs/jq.nix
|
|
|
|
|
|
|
|
./config/yt-dlp.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
home = {
|
|
|
|
packages = with pkgs; [
|
|
|
|
aria2
|
|
|
|
arp-scan
|
|
|
|
atomicparsley
|
|
|
|
cachix
|
2021-12-14 19:34:31 +00:00
|
|
|
cliclick
|
2021-12-06 22:35:29 +00:00
|
|
|
dogdns
|
|
|
|
exa
|
|
|
|
fd
|
|
|
|
ffmpeg
|
|
|
|
fzf
|
|
|
|
gallery-dl
|
|
|
|
hexyl
|
|
|
|
hyperfine
|
|
|
|
nix-prefetch-github
|
|
|
|
parallel
|
|
|
|
procs
|
|
|
|
ripgrep
|
|
|
|
rtmpdump
|
|
|
|
tokei
|
2021-12-12 23:01:54 +00:00
|
|
|
wget
|
2021-12-06 22:35:29 +00:00
|
|
|
yt-dlp
|
|
|
|
];
|
2021-12-13 13:00:48 +00:00
|
|
|
|
|
|
|
activation = {
|
2021-12-16 20:13:07 +00:00
|
|
|
cleanAppCaches = lib.hm.dag.entryAfter [ "onFilesChange" "installPackages" "copyFonts" ] ''
|
|
|
|
nvim -c 'try | execute "LuaCacheClear" | catch /.*/ | echo "LuaCacheClear not found" | endtry | q' --headless 2> /dev/null
|
|
|
|
'';
|
|
|
|
|
|
|
|
reportChanges = lib.hm.dag.entryAfter [ "onFilesChange" "installPackages" "copyFonts" ] ''
|
2021-12-13 13:00:48 +00:00
|
|
|
nix store diff-closures $oldGenPath $newGenPath
|
|
|
|
'';
|
|
|
|
};
|
2021-12-06 22:35:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
programs = {
|
|
|
|
home-manager.enable = true;
|
|
|
|
|
|
|
|
direnv = {
|
|
|
|
enable = true;
|
|
|
|
nix-direnv.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
zoxide.enable = true;
|
|
|
|
};
|
|
|
|
}
|