remove option to have no user
This commit is contained in:
parent
3bd8fa4e7a
commit
6d2c537e5a
1 changed files with 3 additions and 7 deletions
|
@ -6,7 +6,7 @@
|
||||||
inputs,
|
inputs,
|
||||||
}: name: {
|
}: name: {
|
||||||
user, # ./users/{name}
|
user, # ./users/{name}
|
||||||
host ? null, # ./users/{name}/{host} (optional)
|
host, # ./users/{name}/{host} (optional)
|
||||||
system, # arch-os
|
system, # arch-os
|
||||||
extraModules ? [],
|
extraModules ? [],
|
||||||
}: let
|
}: let
|
||||||
|
@ -102,9 +102,7 @@ in
|
||||||
(pathOrNull userConfigPath)
|
(pathOrNull userConfigPath)
|
||||||
# The host-wide configuration.nix
|
# The host-wide configuration.nix
|
||||||
(
|
(
|
||||||
if host != null
|
pathOrNull hostConfigPath
|
||||||
then pathOrNull hostConfigPath
|
|
||||||
else null
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# Set up nix-index and enable comma for easy one-shot command use
|
# Set up nix-index and enable comma for easy one-shot command use
|
||||||
|
@ -131,9 +129,7 @@ in
|
||||||
pathOrNull userHomePath
|
pathOrNull userHomePath
|
||||||
)
|
)
|
||||||
(
|
(
|
||||||
if host != null
|
pathOrNull hostHomePath
|
||||||
then pathOrNull hostHomePath
|
|
||||||
else null
|
|
||||||
)
|
)
|
||||||
#Can't have conditional import path
|
#Can't have conditional import path
|
||||||
../modules/macos/tiling/sketchybar-home.nix
|
../modules/macos/tiling/sketchybar-home.nix
|
||||||
|
|
Loading…
Reference in a new issue