Skip to content

Commit

Permalink
Don't run hwclock if /etc/ is not writable
Browse files Browse the repository at this point in the history
  • Loading branch information
samueltardieu committed Nov 3, 2024
1 parent d0d0a08 commit 114ef67
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nixos/modules/system/boot/shutdown.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ with lib;
unitConfig = {
DefaultDependencies = false;
ConditionPathExists = "/dev/rtc";
ConditionPathIsReadWrite = "/etc/";
};

serviceConfig = {
Expand Down

0 comments on commit 114ef67

Please sign in to comment.