added hostname to script

This commit is contained in:
John Lancaster
2026-03-11 00:44:23 -05:00
parent 7f8a8e0f49
commit 95b35a509a

View File

@@ -31,7 +31,8 @@
${nixBin} flake check
'')
(writeShellScriptBin "nhms" ''
${lib.getExe home-manager} switch --impure --flake ${flakeDir}
HOSTNAME=$(hostname -s)
${lib.getExe home-manager} switch --impure --flake ${flakeDir}#$HOSTNAME
'')
(writeShellScriptBin "nhmu" ''
${nixBin} flake update --flake ${flakeDir}