Compare commits

...

2 commits

Author SHA1 Message Date
Antoine Vaure
03c111430b add config for ipva02; same as ipva01
All checks were successful
/ build-all (push) Successful in 39s
2026-04-21 11:15:10 +02:00
Antoine Vaure
b365acc403 better rm to trash conversion
All checks were successful
/ build-all (push) Successful in 49s
2026-04-21 11:14:21 +02:00
2 changed files with 12 additions and 1 deletions

View file

@ -75,6 +75,7 @@
programs.fish.loginShellInit = "source ${pkgs.nix}/etc/profile.d/nix.fish";
})
];
homeConfigurations."anvaure@msm-lnx-ipva-02" = homeConfigurations."anvaure@msm-lnx-ipva-01";
homeConfigurations."anvaure@msm-lnx-demo-01" = homeConfigurations."anvaure@msm-lnx-ipva-01";
nixosConfigurations.basado = osConfig [

View file

@ -66,6 +66,17 @@
ffsum.body = ''
${pkgs.ffmpeg}/bin/ffmpeg -hide_banner -v error $argv[..-2] -i $argv[-1] -map 0:v -f md5 -
'';
rm.body = ''
if which trash >/dev/null
trash $argv
else
if test $TRASH_MESSAGE_PRINTED != 1
echo (set_color blue)"trash-cli not installed ! falling back to using unforgiving rm"
set TRASH_MESSAGE_PRINTED 1
end
rm $argv
end
'';
};
shellAliases = {
@ -74,7 +85,6 @@
grep = "grep --color=auto";
diff = "diff --color=auto";
dev = "nix develop -c fish";
rm = "trash";
del = "rm -rf";
rsyncp = "rsync --info=progress2 --no-inc-recursive";
ffmpeg = "ffmpeg -hide_banner";