diff options
author | Will Fancher <elvishjerricco@gmail.com> | 2023-07-29 14:01:11 -0400 |
---|---|---|
committer | Will Fancher <elvishjerricco@gmail.com> | 2023-07-29 14:02:06 -0400 |
commit | 7a3730f90153d136709069d28e2b131f622a2012 (patch) | |
tree | 26e882b78bdb6e0f59568b3a8d6dde5f329c6e10 /nixos/modules/system/boot | |
parent | 66ce081fafa2dca0038006ec7c6482d7a11d13d8 (diff) |
nixos/systemd: Add util-linux to systemd-mkswap's path
Diffstat (limited to 'nixos/modules/system/boot')
-rw-r--r-- | nixos/modules/system/boot/systemd.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix index 9557cf45d562f..ac55461107fb9 100644 --- a/nixos/modules/system/boot/systemd.nix +++ b/nixos/modules/system/boot/systemd.nix @@ -597,6 +597,11 @@ in # drop-in in /etc, it does apply. overrideStrategy = "asDropin"; }; + systemd.services."systemd-mkswap@" = { + restartIfChanged = false; + path = [ pkgs.util-linux ]; + overrideStrategy = "asDropin"; + }; systemd.services.systemd-random-seed.restartIfChanged = false; systemd.services.systemd-remount-fs.restartIfChanged = false; systemd.services.systemd-update-utmp.restartIfChanged = false; |