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
+13 -7
View File
@@ -1,6 +1,7 @@
{ lib, ... }:
{
with lib;
rec {
systemUserOpts = { username, ... }: {
options = with lib.types; {
username = mkOption {
@@ -95,20 +96,25 @@
};
ssh-keys = mkOption {
type = nullOr (listOf (submodule sshKeyOpts));
type = listOf (submodule sshKeyOpts);
description = "Path to the user's public and private key files.";
default = [];
};
email = mkOption {
type = nullOr str;
description = "User's primary email address.";
default = null;
};
};
};
groupOpts = { group-name, ... }: {
options = with lib.types; {
group-name = mkOption {
type = nullOr str;
default = group-name;
description = "Group name.";
};
# group-name = mkOption {
# description = "Group name.";
# default = group-name;
# };
description = mkOption {
type = str;