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