diff options
Diffstat (limited to 'hosts/sif/default.nix')
-rw-r--r-- | hosts/sif/default.nix | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/hosts/sif/default.nix b/hosts/sif/default.nix index 16b9f65a..40f87117 100644 --- a/hosts/sif/default.nix +++ b/hosts/sif/default.nix | |||
@@ -715,10 +715,19 @@ in { | |||
715 | { directory = "/var/spool/uucp"; user = "uucp"; group = "uucp"; mode = "0750"; } | 715 | { directory = "/var/spool/uucp"; user = "uucp"; group = "uucp"; mode = "0750"; } |
716 | ]; | 716 | ]; |
717 | files = [ | 717 | files = [ |
718 | "/etc/localtime" | ||
719 | ]; | 718 | ]; |
720 | }; | 719 | }; |
721 | 720 | ||
721 | systemd.services.timezone = { | ||
722 | wantedBy = [ "multi-user.target" ]; | ||
723 | serviceConfig = { | ||
724 | Type = "oneshot"; | ||
725 | RemainAfterExit = true; | ||
726 | ExecStart = "${pkgs.coreutils}/bin/cp -vP /.bcachefs/etc/localtime /etc/localtime"; | ||
727 | ExecStop = "${pkgs.coreutils}/bin/cp -vP /etc/localtime /.bcachefs/etc/localtime"; | ||
728 | }; | ||
729 | }; | ||
730 | |||
722 | security.pam.services.gtklock = {}; | 731 | security.pam.services.gtklock = {}; |
723 | 732 | ||
724 | system.stateVersion = "24.11"; | 733 | system.stateVersion = "24.11"; |