aboutsummaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2026-01-18 16:35:41 +0100
committerMartin Fischer <martin@push-f.com>2026-01-18 16:35:41 +0100
commitea8bf87dd1d4ea53ce2e47af0b7bccdda015effd (patch)
treede6c1c8f2277ddcae58bb430631ae64255396bea /nixos
parent083167449ea095f263e68b834ba14246c32ca52e (diff)
refactor: move i18n options to workstation
Diffstat (limited to 'nixos')
-rw-r--r--nixos/hosts/hamac/default.nix14
-rw-r--r--nixos/profiles/workstation/default.nix14
2 files changed, 14 insertions, 14 deletions
diff --git a/nixos/hosts/hamac/default.nix b/nixos/hosts/hamac/default.nix
index 523b7d6..74f8c91 100644
--- a/nixos/hosts/hamac/default.nix
+++ b/nixos/hosts/hamac/default.nix
@@ -27,20 +27,6 @@ in
time.timeZone = "Europe/Vienna";
- i18n.defaultLocale = "en_US.UTF-8";
-
- i18n.extraLocaleSettings = {
- LC_ADDRESS = "en_US.UTF-8";
- LC_IDENTIFICATION = "en_US.UTF-8";
- LC_MEASUREMENT = "en_US.UTF-8";
- LC_MONETARY = "en_US.UTF-8";
- LC_NAME = "en_US.UTF-8";
- LC_NUMERIC = "en_US.UTF-8";
- LC_PAPER = "en_US.UTF-8";
- LC_TELEPHONE = "en_US.UTF-8";
- LC_TIME = "en_US.UTF-8";
- };
-
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
diff --git a/nixos/profiles/workstation/default.nix b/nixos/profiles/workstation/default.nix
index b6b230a..2c5e32a 100644
--- a/nixos/profiles/workstation/default.nix
+++ b/nixos/profiles/workstation/default.nix
@@ -33,6 +33,20 @@ in
];
};
+ i18n.defaultLocale = "en_US.UTF-8";
+
+ i18n.extraLocaleSettings = {
+ LC_ADDRESS = "en_US.UTF-8";
+ LC_IDENTIFICATION = "en_US.UTF-8";
+ LC_MEASUREMENT = "en_US.UTF-8";
+ LC_MONETARY = "en_US.UTF-8";
+ LC_NAME = "en_US.UTF-8";
+ LC_NUMERIC = "en_US.UTF-8";
+ LC_PAPER = "en_US.UTF-8";
+ LC_TELEPHONE = "en_US.UTF-8";
+ LC_TIME = "en_US.UTF-8";
+ };
+
services.getty = {
autologinUser = cfg.username;
autologinOnce = true; # only in the first tty once per boot