1
0
Fork 0

Update deps and improvements

This commit is contained in:
Daniel Kempkens 2021-12-19 00:10:41 +01:00
parent 15628a2ff0
commit f49040800e
3 changed files with 21 additions and 17 deletions

View file

@ -38,11 +38,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1639695966, "lastModified": 1639774225,
"narHash": "sha256-p7NLQXuG6FW0jnigznCUheQCORRcynSnZm3d6sqyFLM=", "narHash": "sha256-pdXvYneQVzB14fD+Q283s17tXRyQMs2JMx4mZ4JeSYg=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "6c6f934f0ba77dbcaefa84c106cab505f1e5bc58", "rev": "8b44e81978a2bef60c83ecc0199ab2523310214a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -61,11 +61,11 @@
}, },
"locked": { "locked": {
"dir": "contrib", "dir": "contrib",
"lastModified": 1639687573, "lastModified": 1639795113,
"narHash": "sha256-SsIlA2YJXtIBp1RLfg8IA7jz5XhVZEfYyUJGfdbVGpM=", "narHash": "sha256-pVBNbtpamfSOM3eBZWn/Xx9V9FwRaYw7WZ+yOUyz2UA=",
"owner": "neovim", "owner": "neovim",
"repo": "neovim", "repo": "neovim",
"rev": "b1757e1c29d07c7958c62427e19e85916670049d", "rev": "818ae74eaf6f4538ca61ee4ba703543b0caaff10",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -84,11 +84,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1639728838, "lastModified": 1639846990,
"narHash": "sha256-MhSyr5hdO60hhOqn1QkfaW/Sb9QK6WK/F3cW8c45ye4=", "narHash": "sha256-vjB3NUJfD6HZS0TaGbK22Gw1d5NdBZlsNI1k2zonogE=",
"owner": "nix-community", "owner": "nix-community",
"repo": "neovim-nightly-overlay", "repo": "neovim-nightly-overlay",
"rev": "88cdf65ea8e61368d483e167a1f982f98835271d", "rev": "a299989784567908c8e26877341f9965a93c1d91",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -104,11 +104,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1639570921, "lastModified": 1639852863,
"narHash": "sha256-5n7mjOoXx/Y8W0825liDtE6S2jvOaDfYp18HoraRRVQ=", "narHash": "sha256-AUAVxqgPYQOmpOfsK7A2jedjL0TEkq53CTnzssoCaAs=",
"owner": "nifoc", "owner": "nifoc",
"repo": "nix-overlay", "repo": "nix-overlay",
"rev": "ff7834be498b3f5d73bc17265b151f3175a44dee", "rev": "5663448d4815f58e4bf2e5440db1ff88ae0db3cd",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -119,11 +119,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1639713555, "lastModified": 1639807448,
"narHash": "sha256-w1TacWjnqhC19n+rheyOif3JxwvWMbyxfgqYCY0FLdQ=", "narHash": "sha256-VA9twSpyM0e5Y5XAm20y5Vg6avky+imzfr65FoFq0G0=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "45a3f9d7725c7e21b252c223676cc56fb2ed5d6d", "rev": "2d555e5f6529d8485ea7ccdbd3633cf1681eaa2e",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -44,7 +44,11 @@
activation = { activation = {
cleanAppCaches = lib.hm.dag.entryAfter [ "onFilesChange" "installPackages" "copyFonts" ] '' cleanAppCaches = lib.hm.dag.entryAfter [ "onFilesChange" "installPackages" "copyFonts" ] ''
nvim -c 'try | execute "LuaCacheClear" | catch /.*/ | echo "LuaCacheClear not found" | endtry | q' --headless 2> /dev/null echo -n "Running LuaCacheClear: "
nvim -c 'try | execute "LuaCacheClear" | echo "Done" | catch /.*/ | echo "Command not found" | endtry | q' --headless
printf '\nRemoving luacache file: '
rm -f "$HOME/.cache/nvim/luacache"
echo "Done"
''; '';
reportChanges = lib.hm.dag.entryAfter [ "onFilesChange" "installPackages" "copyFonts" ] '' reportChanges = lib.hm.dag.entryAfter [ "onFilesChange" "installPackages" "copyFonts" ] ''

View file

@ -36,7 +36,7 @@
ytdl = "ytdl_with_options"; ytdl = "ytdl_with_options";
ytdl_mp4 = "ytdl_with_options -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]'"; ytdl_mp4 = "ytdl_with_options -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]'";
yti = "ytdl_with_options -F"; yti = "ytdl_with_options -F";
upa = "nix flake update ~/.config/nixpkgs -v"; upa = "nix-channel --update nixpkgs && nix flake update ~/.config/nixpkgs -v";
upp = "nix flake update ./ -v"; upp = "nix flake update ./ -v";
upn = "$HOME/.config/nixpkgs/programs/nvim/update-plugins.sh"; upn = "$HOME/.config/nixpkgs/programs/nvim/update-plugins.sh";
ucl = "nix-collect-garbage -d && nix-store --gc && nix-store --optimise -v"; ucl = "nix-collect-garbage -d && nix-store --gc && nix-store --optimise -v";