mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
Don't run hwclock if /etc/ is not writable
This commit is contained in:
parent
d0d0a08358
commit
114ef67cbb
@ -14,6 +14,7 @@ with lib;
|
||||
unitConfig = {
|
||||
DefaultDependencies = false;
|
||||
ConditionPathExists = "/dev/rtc";
|
||||
ConditionPathIsReadWrite = "/etc/";
|
||||
};
|
||||
|
||||
serviceConfig = {
|
||||
|
Loading…
Reference in New Issue
Block a user