diff options
| author | Grace Yoder <grace_yoder@outlook.com> | 2026-09-10 12:28:15 -0400 |
|---|---|---|
| committer | Grace Yoder <grace_yoder@outlook.com> | 2026-09-10 12:28:33 -0400 |
| commit | 0e84eb91e5ca06fa3b90991a24b8483ec82011d6 (patch) | |
| tree | d4e1c2e16c75e87bec6596cf89d785800bc1ab3c /home.nix | |
| parent | 4f5f559be9fc4359692cc8f0cd90588a43774753 (diff) | |
another os fix
Diffstat (limited to 'home.nix')
| -rw-r--r-- | home.nix | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,12 +1,14 @@ { lib, - osConfig ? null, ... }: let detectedHostname = - if osConfig != null then osConfig.networking.hostName else builtins.getEnv "HOSTNAME"; + if builtins.match ".*-darwin" builtins.currentSystem != null then + "turing" + else + builtins.getEnv "HOSTNAME"; detectedUsername = builtins.getEnv "USER"; detectedHome = let |
