mirror of
https://github.com/mjallen18/snowfall-lib.git
synced 2026-04-18 09:05:58 -05:00
fix: only enable matched user homes
This commit is contained in:
@@ -16,7 +16,6 @@ let
|
||||
mapAttrsToList
|
||||
optionals
|
||||
mkDefault
|
||||
traceSeqN
|
||||
mkAliasDefinitions
|
||||
mkAliasAndWrapDefinitions
|
||||
mkOption
|
||||
@@ -279,7 +278,10 @@ in
|
||||
config = mkIf host-matches {
|
||||
# Initialize user information.
|
||||
snowfallorg.user.${user-name}.home.config = {
|
||||
snowfallorg.user.name = mkDefault user-name;
|
||||
snowfallorg.user = {
|
||||
enable = true;
|
||||
name = mkDefault user-name;
|
||||
};
|
||||
};
|
||||
|
||||
home-manager = {
|
||||
|
||||
Reference in New Issue
Block a user