mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 04:59:23 +08:00
roll rootfs after swap
This commit is contained in:
@@ -91,7 +91,7 @@ inputs:
|
||||
systemd.services.roll-rootfs =
|
||||
{
|
||||
wantedBy = [ "local-fs-pre.target" ];
|
||||
after = [ "cryptsetup.target" ];
|
||||
after = [ "cryptsetup.target" "dev-mapper-swap.swap" ];
|
||||
before = [ "local-fs-pre.target" ];
|
||||
unitConfig.DefaultDependencies = false;
|
||||
serviceConfig.Type = "oneshot";
|
||||
|
||||
Reference in New Issue
Block a user