Skip to content

Commit

Permalink
fix(activate): Don't hardcode current directory (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
srid authored Jun 11, 2024
1 parent 6659f75 commit c23ce31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flake-module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ in
set -x
${emptyConfiguration.system}/sw/bin/darwin-rebuild \
switch \
--flake .#"''${HOSTNAME}" \
--flake "path:${self}#''${HOSTNAME}" \
"$@"
''
else
Expand All @@ -75,7 +75,7 @@ in
set -x
${lib.getExe pkgs.nixos-rebuild} \
switch \
--flake .#"''${HOSTNAME}" \
--flake "path:${self}#''${HOSTNAME}" \
--use-remote-sudo \
"$@"
'';
Expand Down

0 comments on commit c23ce31

Please sign in to comment.