| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | inputs, |
| 7 | 7 | }: name: { |
| 8 | 8 | user, # ./users/{name} |
| 9 | | host ? null, # ./users/{name}/{host} (optional) |
| 9 | host, # ./users/{name}/{host} (optional) |
| 10 | 10 | system, # arch-os |
| 11 | 11 | extraModules ? [], |
| 12 | 12 | }: let |
| ... | ... | @@ -102,9 +102,7 @@ in |
| 102 | 102 | (pathOrNull userConfigPath) |
| 103 | 103 | # The host-wide configuration.nix |
| 104 | 104 | ( |
| 105 | | if host != null |
| 106 | | then pathOrNull hostConfigPath |
| 107 | | else null |
| 105 | pathOrNull hostConfigPath |
| 108 | 106 | ) |
| 109 | 107 | |
| 110 | 108 | # Set up nix-index and enable comma for easy one-shot command use |
| ... | ... | @@ -131,9 +129,7 @@ in |
| 131 | 129 | pathOrNull userHomePath |
| 132 | 130 | ) |
| 133 | 131 | ( |
| 134 | | if host != null |
| 135 | | then pathOrNull hostHomePath |
| 136 | | else null |
| 132 | pathOrNull hostHomePath |
| 137 | 133 | ) |
| 138 | 134 | #Can't have conditional import path |
| 139 | 135 | ../modules/macos/tiling/sketchybar-home.nix |