aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authornotgne22021-01-06 22:07:02 -0700
committernotgne22021-01-06 22:07:02 -0700
commit1021191b90f31fe34592a1ee95a5d588a2d61dc2 (patch)
tree941f882ad5596e71fb0a35d929f0860a0e96285a /flake.nix
parenta9a5c4bd1ef7a2db264dddd1dc51ac315ddbb606 (diff)
Use boot path from configuration and ignore failures when updating loader conf
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index 41035d6..e7afbdd 100644
--- a/flake.nix
+++ b/flake.nix
@@ -84,7 +84,7 @@
$PROFILE/bin/switch-to-configuration switch
# https://github.com/serokell/deploy-rs/issues/31
- sed -i '/^default /d' /boot/loader/loader.conf
+ sed -i '/^default /d' ${base.config.boot.loader.efi.efiSysMountPoint}/loader/loader.conf || :
'';
noop = base: custom base ":";