added hostname to script
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user