fix: only enable matched user homes

This commit is contained in:
Jake Hamilton
2023-07-01 12:22:29 -07:00
parent cfaa78937e
commit 880d907905
3 changed files with 10 additions and 3 deletions

View File

@@ -24,7 +24,7 @@ in
user = {
enable = mkOption {
type = types.bool;
default = true;
default = false;
description = "Whether to configure the user.";
};

View File

@@ -45,6 +45,11 @@ in
};
home = {
enable = mkOption {
type = types.bool;
default = true;
};
path = mkOption {
type = types.str;
default = "/home/${name}";