summaryrefslogtreecommitdiff
path: root/hosts/sif/default.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2024-08-12 00:08:18 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2024-08-12 00:08:18 +0200
commit67e15aa73723811f193eef62c6f79f65c919faec (patch)
tree943922da830ccd719c99030bc8b3e2950e07dc05 /hosts/sif/default.nix
parent2e593841f4cebd86491f35733cc3da32e6fee9f5 (diff)
downloadnixos-67e15aa73723811f193eef62c6f79f65c919faec.tar
nixos-67e15aa73723811f193eef62c6f79f65c919faec.tar.gz
nixos-67e15aa73723811f193eef62c6f79f65c919faec.tar.bz2
nixos-67e15aa73723811f193eef62c6f79f65c919faec.tar.xz
nixos-67e15aa73723811f193eef62c6f79f65c919faec.zip
...
Diffstat (limited to 'hosts/sif/default.nix')
-rw-r--r--hosts/sif/default.nix11
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";