From 581c01b66a66539b14a206a0e5525fffe9adf8ee Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Sun, 15 Sep 2024 15:40:46 -0700 Subject: Fix EFI partition sync to remove stale content --- hosts/darkstar/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hosts/darkstar') diff --git a/hosts/darkstar/default.nix b/hosts/darkstar/default.nix index e5fd41c..4690b21 100644 --- a/hosts/darkstar/default.nix +++ b/hosts/darkstar/default.nix @@ -13,7 +13,7 @@ systemd-boot = { enable = true; extraInstallCommands = '' - ${pkgs.coreutils}/bin/cp -r /efiboot/efi1/* /efiboot/efi2 + ${pkgs.rsync}/bin/rsync -av --delete /efiboot/efi1/ /efiboot/efi2 ''; }; timeout = 3; -- cgit v1.2.3