Merge pull request #270000 from nikstur/fix-systemd-timesync-test

nixos/tests/systemd-timesyncd: tmpfiles.rules -> tmpfiles.settings

authored by nikstur and committed by GitHub 6a70cde5 7cc312f1

+8 -7
+8 -7
nixos/tests/systemd-timesyncd.nix
··· 15 15 # create the path that should be migrated by our activation script when 16 16 # upgrading to a newer nixos version 17 17 system.stateVersion = "19.03"; 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 - ]; 18 + systemd.tmpfiles.settings.systemd-timesyncd-test = { 19 + "/var/lib/systemd/timesync".R = { }; 20 + "/var/lib/systemd/timesync".L.argument = "/var/lib/private/systemd/timesync"; 21 + "/var/lib/private/systemd/timesync".d = { 22 + user = "systemd-timesync"; 23 + group = "systemd-timesync"; 24 + }; 25 + }; 25 26 }); 26 27 }; 27 28