Checkin to see if lib gets fudo

This commit is contained in:
2021-10-04 10:20:53 -07:00
parent 643f8d6df4
commit 3597d82f64
9 changed files with 46 additions and 31 deletions
+4 -3
View File
@@ -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";
};
};