Fix shell lint problems

This commit is contained in:
Greg Hellings
2024-10-18 13:06:03 -05:00
parent cd0533332d
commit 536214e577
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ writeShellApplication {
# Build NixOS for this system
pushd "''${dir}"
nix build "~/.config/darwin#darwinConfigurations.$(hostname -s).system"
nix build "''${HOME}/.config/darwin#darwinConfigurations.$(hostname -s).system"
./result/sw/bin/darwin-rebuild switch --flake ~/.config/darwin
popd
rm -r "''${dir}"
+2 -2
View File
@@ -50,7 +50,7 @@ writeShellApplication {
cp /etc/nixos.bk/hardware-configuration.nix /etc/nixos
chown -R greg nixos
echo "Now you should be able to just run `nixos-rebuild switch` to enable the flake functionality"
echo "After that and adding the entry to the flake, run `nixos-rebuild boot --flake '.#''${hostname}'` and reboot"
echo "Now you should be able to just run 'nixos-rebuild switch' to enable the flake functionality"
echo "After that and adding the entry to the flake, run 'nixos-rebuild boot --flake '.#''${hostname}' and reboot"
'';
}