From 67e15aa73723811f193eef62c6f79f65c919faec Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 12 Aug 2024 00:08:18 +0200 Subject: ... --- hosts/sif/default.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'hosts/sif') 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 { { directory = "/var/spool/uucp"; user = "uucp"; group = "uucp"; mode = "0750"; } ]; files = [ - "/etc/localtime" ]; }; + systemd.services.timezone = { + wantedBy = [ "multi-user.target" ]; + serviceConfig = { + Type = "oneshot"; + RemainAfterExit = true; + ExecStart = "${pkgs.coreutils}/bin/cp -vP /.bcachefs/etc/localtime /etc/localtime"; + ExecStop = "${pkgs.coreutils}/bin/cp -vP /etc/localtime /.bcachefs/etc/localtime"; + }; + }; + security.pam.services.gtklock = {}; system.stateVersion = "24.11"; -- cgit v1.2.3