sysadmin: specify UTC timezone

This commit is contained in:
Katherina Walshe-Grey 2024-08-29 19:26:57 +01:00
parent 96f4062991
commit 4ed696e5b1
3 changed files with 4 additions and 5 deletions

View file

@ -8,6 +8,8 @@ in
options.qenya.sysadmin.enable = mkEnableOption "Base configuration for headless servers";
config = mkIf cfg.enable {
time.timeZone = "Etc/UTC";
# Allow remote deployment with colmena
deployment.targetUser = null;
security.sudo.wheelNeedsPassword = false;

View file

@ -59,7 +59,6 @@
tohru = { name, nodes, ... }: {
networking.hostId = "31da19c1";
time.timeZone = "Europe/London";
deployment = {
allowLocalDeployment = true;
targetHost = null; # disallow remote deployment
@ -72,7 +71,6 @@
yevaud = { name, nodes, ... }: {
networking.hostId = "09673d65";
time.timeZone = "Etc/UTC";
deployment.targetHost = "yevaud.birdsong.network";
imports = [
@ -82,7 +80,6 @@
orm = { name, nodes, ... }: {
networking.hostId = "00000000";
time.timeZone = "Etc/UTC";
deployment.targetHost = "orm.birdsong.network";
imports = [
@ -92,7 +89,6 @@
kalessin = { name, nodes, ... }: {
networking.hostId = "534b538e";
time.timeZone = "Etc/UTC";
deployment = {
targetHost = "kalessin.birdsong.network";
buildOnTarget = true;

View file

@ -11,7 +11,6 @@
boot.loader.systemd-boot.editor = false;
age.secrets.wireguard-peer-tohru.file = ../../secrets/wireguard-peer-tohru.age;
birdsong.peering = {
enable = true;
privateKeyFile = config.age.secrets.wireguard-peer-tohru.path;
@ -30,6 +29,8 @@
networking.networkmanager.enable = true;
time.timeZone = "Europe/London";
i18n.defaultLocale = "en_GB.UTF-8";
console.keyMap = "uk";