home manager rebuilds using nh pacakge for nice outputs
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
nhms = (pkgs.writeShellScriptBin "nhms" ''
|
||||
HOSTNAME=${hostnameCmd}
|
||||
${echoCmd} "Switching to the $HOSTNAME home-manager profile"
|
||||
${lib.getExe pkgs.home-manager} switch --impure --flake ${flakeDir}#$HOSTNAME
|
||||
${lib.getExe pkgs.nh} home switch ${flakeDir} -c $HOSTNAME "$@"
|
||||
'');
|
||||
in
|
||||
{
|
||||
@@ -74,8 +74,7 @@
|
||||
'')
|
||||
nhms
|
||||
(writeShellScriptBin "nhmu" ''
|
||||
${nixBin} flake update --flake ${flakeDir}
|
||||
${lib.getExe nhms}
|
||||
${lib.getExe nhms} --update
|
||||
'')
|
||||
|
||||
(writeShellScriptBin "test-build" ''
|
||||
|
||||
Reference in New Issue
Block a user