summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrace Yoder <grace_yoder@outlook.com>2026-09-10 12:28:15 -0400
committerGrace Yoder <grace_yoder@outlook.com>2026-09-10 12:28:33 -0400
commit0e84eb91e5ca06fa3b90991a24b8483ec82011d6 (patch)
treed4e1c2e16c75e87bec6596cf89d785800bc1ab3c
parent4f5f559be9fc4359692cc8f0cd90588a43774753 (diff)
another os fix
-rw-r--r--home.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/home.nix b/home.nix
index 89ccc9d..ce02c0d 100644
--- a/home.nix
+++ b/home.nix
@@ -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