nixos/tests/systemd-timesyncd: tmpfiles.rules -> tmpfiles.settings
This also fixes some warning systemd-tmpfiles was issuing before.
This commit is contained in:
parent
c1681fe35c
commit
5257a52c8b
1 changed files with 8 additions and 7 deletions
|
@ -15,13 +15,14 @@ in {
|
||||||
# create the path that should be migrated by our activation script when
|
# create the path that should be migrated by our activation script when
|
||||||
# upgrading to a newer nixos version
|
# upgrading to a newer nixos version
|
||||||
system.stateVersion = "19.03";
|
system.stateVersion = "19.03";
|
||||||
systemd.tmpfiles.rules = [
|
systemd.tmpfiles.settings.systemd-timesyncd-test = {
|
||||||
"r /var/lib/systemd/timesync -"
|
"/var/lib/systemd/timesync".R = { };
|
||||||
"d /var/lib/systemd -"
|
"/var/lib/systemd/timesync".L.argument = "/var/lib/private/systemd/timesync";
|
||||||
"d /var/lib/private/systemd/timesync -"
|
"/var/lib/private/systemd/timesync".d = {
|
||||||
"L /var/lib/systemd/timesync - - - - /var/lib/private/systemd/timesync"
|
user = "systemd-timesync";
|
||||||
"d /var/lib/private/systemd/timesync - systemd-timesync systemd-timesync -"
|
group = "systemd-timesync";
|
||||||
];
|
};
|
||||||
|
};
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue