(desktop) Gen 446: Cleaned up broken inputs, altered 'nixswitch' to be interchangeable between hosts, added 'host' attr

This commit is contained in:
pagedMov
2024-10-13 02:15:56 -04:00
parent 1379e5a8ef
commit 9372e3af0d
14 changed files with 124 additions and 41 deletions

View File

@@ -1,4 +1,4 @@
{ self, pkgs }:
{ self, pkgs, host}:
pkgs.writeShellScriptBin "nixcommit" (''
@@ -22,7 +22,7 @@ if [ -n "$diffcheck" ]; then
exit
fi
git add .
git commit -m "Gen $gen: $1"
git commit -m "(${host}) Gen $gen: $1"
git push
scheck && runbg aplay ${self}/media/sound/gitpush.wav
builtin cd - || exit