summary refs log tree commit diff
path: root/modules/services/ttys/agetty.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/services/ttys/agetty.nix')
-rw-r--r--modules/services/ttys/agetty.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/services/ttys/agetty.nix b/modules/services/ttys/agetty.nix
index 43ee81481bff..42d276c96664 100644
--- a/modules/services/ttys/agetty.nix
+++ b/modules/services/ttys/agetty.nix
@@ -72,7 +72,7 @@ with pkgs.lib;
 
         [Service]
         Environment=TERM=linux
-        Environment=LOCALE_ARCHIVE=/var/run/current-system/sw/lib/locale/locale-archive
+        Environment=LOCALE_ARCHIVE=/run/current-system/sw/lib/locale/locale-archive
         ExecStart=@${pkgs.utillinux}/sbin/agetty agetty --noclear --login-program ${pkgs.shadow}/bin/login %I 38400
         Type=idle
         Restart=always