authorgravatar for nmarks413@gmail.comNatalie Marks <nmarks413@gmail.com> 2025-05-07 13:23:34-07:00
committergravatar for nmarks413@gmail.comNatalie Marks <nmarks413@gmail.com> 2025-05-07 13:23:34-07:00
log6d2c537e5aa255a405cea2fe6b2e9377779b2ff3
tree9b937dbd3aa38701cfd31464c774817cab102e03
parent3bd8fa4e7a7736b59301babb7680b965b08a6cc8
signature Commit is signed but in an unrecognized format.

remove option to have no user


1 files changed, 3 insertions(+), 7 deletions(-)

lib/mkSystem.nix+3-7
...@@ -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-os10 system, # arch-os
11 extraModules ? [],11 extraModules ? [],
12}: let12}: let
...@@ -102,9 +102,7 @@ in...@@ -102,9 +102,7 @@ in
102 (pathOrNull userConfigPath)102 (pathOrNull userConfigPath)
103 # The host-wide configuration.nix103 # The host-wide configuration.nix
104 (104 (
105 if host != null105 pathOrNull hostConfigPath
106 then pathOrNull hostConfigPath
107 else null
108 )106 )
109107
110 # Set up nix-index and enable comma for easy one-shot command use108 # 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 userHomePath129 pathOrNull userHomePath
132 )130 )
133 (131 (
134 if host != null132 pathOrNull hostHomePath
135 then pathOrNull hostHomePath
136 else null
137 )133 )
138 #Can't have conditional import path134 #Can't have conditional import path
139 ../modules/macos/tiling/sketchybar-home.nix135 ../modules/macos/tiling/sketchybar-home.nix