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 @@
66 inputs,
77}: name: {
88 user, # ./users/{name}
9 host ? null, # ./users/{name}/{host} (optional)
9 host, # ./users/{name}/{host} (optional)
1010 system, # arch-os
1111 extraModules ? [],
1212}: let
......@@ -102,9 +102,7 @@ in
102102 (pathOrNull userConfigPath)
103103 # The host-wide configuration.nix
104104 (
105 if host != null
106 then pathOrNull hostConfigPath
107 else null
105 pathOrNull hostConfigPath
108106 )
109107
110108 # Set up nix-index and enable comma for easy one-shot command use
......@@ -131,9 +129,7 @@ in
131129 pathOrNull userHomePath
132130 )
133131 (
134 if host != null
135 then pathOrNull hostHomePath
136 else null
132 pathOrNull hostHomePath
137133 )
138134 #Can't have conditional import path
139135 ../modules/macos/tiling/sketchybar-home.nix