about summary refs log tree commit diff
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2024-02-24 20:58:58 +0100
committeraszlig <aszlig@nix.build>2024-02-24 21:02:52 +0100
commitcaded6687687dce49427256231927451704f5153 (patch)
tree3ca7caededdabd2ccfa72802c5e6ad9d03b40ba4
parent92ab56e0ff743cde2e88e0906eb310b7380e8857 (diff)
profile: Use /run instead of /var/run for shell
The /var/run directory no longer is the canonical location for what is
now /run and /var/run is also not in /etc/shells, so let's switch to
/run instead.

From hier(7):

  /run   This directory contains information which describes the system
         since it was booted. Once this purpose was served by /var/run
         and programs may continue to use it.

Signed-off-by: aszlig <aszlig@nix.build>
-rw-r--r--modules/user/aszlig/profiles/base.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/aszlig/profiles/base.nix b/modules/user/aszlig/profiles/base.nix
index ff63c04f..2ef0835b 100644
--- a/modules/user/aszlig/profiles/base.nix
+++ b/modules/user/aszlig/profiles/base.nix
@@ -29,7 +29,7 @@ in {
       LC_TIME = "C.UTF-8";
     };
 
-    users.defaultUserShell = "/var/run/current-system/sw/bin/zsh";
+    users.defaultUserShell = "/run/current-system/sw/bin/zsh";
 
     networking.wireless.enable = false;
     networking.firewall.enable = false;