remove option to have no user

This commit is contained in:
Natalie 2025-05-07 13:23:34 -07:00
parent 3bd8fa4e7a
commit 6d2c537e5a
No known key found for this signature in database
GPG key ID: 61F4EAEB0C9C3D5F

View file

@ -6,7 +6,7 @@
inputs,
}: name: {
user, # ./users/{name}
host ? null, # ./users/{name}/{host} (optional)
host, # ./users/{name}/{host} (optional)
system, # arch-os
extraModules ? [],
}: let
@ -102,9 +102,7 @@ in
(pathOrNull userConfigPath)
# The host-wide configuration.nix
(
if host != null
then pathOrNull hostConfigPath
else null
pathOrNull hostConfigPath
)
# Set up nix-index and enable comma for easy one-shot command use
@ -131,9 +129,7 @@ in
pathOrNull userHomePath
)
(
if host != null
then pathOrNull hostHomePath
else null
pathOrNull hostHomePath
)
#Can't have conditional import path
../modules/macos/tiling/sketchybar-home.nix