aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/darkstar
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2024-05-03 03:28:07 -0700
committerMark Nipper <nipsy@bitgnome.net>2024-05-03 03:28:07 -0700
commit4dc83e4b55822de7f22fc74b2664893179ee887e (patch)
treea366b712c0886d50097bad99e0b6a68a31e3c339 /hosts/darkstar
parent2527b279f4c961b49ede4c2b2461968354647429 (diff)
downloadnix-4dc83e4b55822de7f22fc74b2664893179ee887e.tar
nix-4dc83e4b55822de7f22fc74b2664893179ee887e.tar.gz
nix-4dc83e4b55822de7f22fc74b2664893179ee887e.tar.bz2
nix-4dc83e4b55822de7f22fc74b2664893179ee887e.tar.lz
nix-4dc83e4b55822de7f22fc74b2664893179ee887e.tar.xz
nix-4dc83e4b55822de7f22fc74b2664893179ee887e.tar.zst
nix-4dc83e4b55822de7f22fc74b2664893179ee887e.zip
Fix paths
Diffstat (limited to 'hosts/darkstar')
-rw-r--r--hosts/darkstar/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/hosts/darkstar/default.nix b/hosts/darkstar/default.nix
index 5c4d00e..2e8d62c 100644
--- a/hosts/darkstar/default.nix
+++ b/hosts/darkstar/default.nix
@@ -10,9 +10,9 @@
systemd-boot = {
enable = true;
extraInstallCommands = ''
- mount -t vfat -o iocharset=iso8859-1 /dev/disk/by-label/ESP1 /efiboot/efi1
- mount -t vfat -o iocharset=iso8859-1 /dev/disk/by-label/ESP2 /efiboot/efi2
- cp -r /efiboot/efi1/* /efiboot/efi2
+ ${pkgs.util-linux}/bin/mount -t vfat -o iocharset=iso8859-1 /dev/disk/by-label/ESP1 /efiboot/efi1
+ ${pkgs.util-linux}/bin/mount -t vfat -o iocharset=iso8859-1 /dev/disk/by-label/ESP2 /efiboot/efi2
+ ${pkgs.coreutils}/bin/cp -r /efiboot/efi1/* /efiboot/efi2
'';
};
timeout = 3;