Checkin to see if lib gets fudo
This commit is contained in:
+4
-3
@@ -2,7 +2,8 @@
|
||||
|
||||
with lib;
|
||||
let
|
||||
user = import ./types/users.nix { inherit lib; };
|
||||
user = import ./types/user.nix { inherit lib; };
|
||||
|
||||
in {
|
||||
options.instance = with types; {
|
||||
hostname = mkOption {
|
||||
@@ -31,7 +32,7 @@ in {
|
||||
};
|
||||
|
||||
local-groups = mkOption {
|
||||
type = listOf str;
|
||||
type = attrsOf (submodule user.groupOpts);
|
||||
description = "List of groups which should be created on the local host.";
|
||||
};
|
||||
|
||||
@@ -41,7 +42,7 @@ in {
|
||||
};
|
||||
|
||||
local-users = mkOption {
|
||||
type = attrsOf user.userOpts;
|
||||
type = attrsOf (submodule user.userOpts);
|
||||
description = "List of users who should have access to the local host";
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user