about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorPol Dellaiera <pol.dellaiera@protonmail.com>2024-06-06 18:33:30 +0200
committerPol Dellaiera <pol.dellaiera@protonmail.com>2024-06-06 18:33:30 +0200
commitf2318b9d581cb5a066428297371fe83b7e7cdee4 (patch)
tree8a60d69a359113cc7bf9087db27baf1e57f48967 /nixos
parentd2e7ed816ef6b86b1483a7212c2ddb289a0510c7 (diff)
nixos/boot: use `--replace-fail`
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/system/boot/systemd/coredump.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/systemd/coredump.nix b/nixos/modules/system/boot/systemd/coredump.nix
index 1f29f6686d0d0..ccf5d449b94a3 100644
--- a/nixos/modules/system/boot/systemd/coredump.nix
+++ b/nixos/modules/system/boot/systemd/coredump.nix
@@ -53,7 +53,7 @@ in {
           pkgs.substitute {
             src = "${systemd}/example/sysctl.d/50-coredump.conf";
             substitutions = [
-              "--replace"
+              "--replace-fail"
               "${systemd}"
               "${pkgs.symlinkJoin { name = "systemd"; paths = [ systemd ]; }}"
             ];