diff options
| author | Grace Yoder <grace_yoder@outlook.com> | 2026-09-10 12:12:45 -0400 |
|---|---|---|
| committer | Grace Yoder <grace_yoder@outlook.com> | 2026-09-10 12:22:14 -0400 |
| commit | 4f5f559be9fc4359692cc8f0cd90588a43774753 (patch) | |
| tree | b6ff7acc2093f54824c4340b755790f967209ba4 /home.nix | |
| parent | 501aa3cb745a7bf57188a79e31cdcfe31cd3b1b4 (diff) | |
minor fixes
Diffstat (limited to 'home.nix')
| -rw-r--r-- | home.nix | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,10 +1,12 @@ { lib, + osConfig ? null, ... }: let - detectedHostname = builtins.getEnv "HOSTNAME"; + detectedHostname = + if osConfig != null then osConfig.networking.hostName else builtins.getEnv "HOSTNAME"; detectedUsername = builtins.getEnv "USER"; detectedHome = let |
