about summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-06-06 20:54:18 +0200
committerGitHub <noreply@github.com>2024-06-06 20:54:18 +0200
commit610a87e260a687d20722e3e240348d5f73dbce34 (patch)
tree0773835e428c332c43940f895bd415785783e9ce /nixos/modules
parenta0fc06753acde250a84ea052aaa25e8bab9f2507 (diff)
parentf2318b9d581cb5a066428297371fe83b7e7cdee4 (diff)
Merge pull request #317785 from drupol/nixos-boot-use-replace-fail
nixos/boot: use `--replace-fail`
Diffstat (limited to 'nixos/modules')
-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 ]; }}"
             ];