File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 # create the path that should be migrated by our activation script when
1616 # upgrading to a newer nixos version
1717 system . stateVersion = "19.03" ;
18- system . activationScripts . simulate-old-timesync-state-dir = lib . mkBefore ''
19- rm -f /var/lib/systemd/timesync
20- mkdir -p /var/lib/systemd /var/lib/private/systemd/timesync
21- ln -s /var/lib/private/systemd/timesync /var/lib/systemd/timesync
22- chown systemd-timesync: /var/lib/private/systemd/timesync
23- '' ;
18+ systemd . tmpfiles . rules = [
19+ "r /var/lib/systemd/timesync -"
20+ "d /var/lib/systemd -"
21+ "d /var/lib/private/systemd/timesync -"
22+ "L /var/lib/systemd/timesync - - - - /var/lib/private/systemd/timesync"
23+ "d /var/lib/private/systemd/timesync - systemd-timesync systemd-timesync -"
24+ ] ;
2425 } ) ;
2526 } ;
2627
You can’t perform that action at this time.
0 commit comments