nixpkgs/nixos/modules
Andreas Rammhold 024a383d64
nixos/systemd: migrate systemd-timesync state when required
Somewhen between systemd v239 and v242 upstream decided to no longer run
a few system services with `DyanmicUser=1` but failed to provide a
migration path for all the state those services left behind.

For the case of systemd-timesync the state has to be moved from
/var/lib/private/systemd/timesync to /var/lib/systemd/timesync if
/var/lib/systemd/timesync is currently a symlink.

We only do this if the stateVersion is still below 19.09 to avoid
starting to have an ever growing activation script for (then) ancient
systemd migrations that are no longer required.

See https://github.com/systemd/systemd/issues/12131 for details about
the missing migration path and related discussion.
2019-06-03 15:05:19 +02:00
..
config nixos/xdg/mime: disable fdatasync when building the XDG MIME database 2019-05-25 21:00:25 -07:00
hardware nixos/all-firmware: Enable facetimehd only for i686/x86_64 2019-05-06 10:49:42 +02:00
i18n/input-method docs: format 2018-09-29 20:51:11 -04:00
installer Merge pull request #60207 from volth/patch-329 2019-05-22 15:32:00 +03:00
misc nixos/os-release: add documentation url 2019-06-03 15:05:10 +02:00
profiles nixos/hardened: use graphene-hardened malloc by default 2019-05-07 13:45:39 +02:00
programs Merge pull request #60406 from JohnAZoidberg/remove-isnull 2019-05-18 09:36:24 +00:00
security FIx some malformed XML in option descriptions 2019-05-13 09:15:17 +02:00
services nixos/udev: switch networking.usePredicatableInterfaceNames to a kernel param 2019-06-03 15:05:12 +02:00
system nixos/systemd: migrate systemd-timesync state when required 2019-06-03 15:05:19 +02:00
tasks nixos/networkd: rename GatewayOnlink to GatewayOnLink 2019-06-03 15:05:17 +02:00
testing types.optionSet: deprecate and remove last usages 2019-01-31 00:41:10 +02:00
virtualisation nixos/modules/virtualisation/google-compute-config.nix: pin filesystem type to ext4 for now 2019-05-27 14:15:02 +08:00
module-list.nix nixos/bitcoind: add bitcoind service 2019-05-22 15:48:57 -04:00
rename.nix winstone: drop package and service 2019-05-15 20:30:48 +02:00