Move profiles from ./profile-config to ./profile

This commit is contained in:
2021-11-02 09:34:26 -07:00
parent 79b05be7d3
commit 566643e195
48 changed files with 1490 additions and 997 deletions
+5 -3
View File
@@ -2,12 +2,12 @@
with lib;
rec {
systemUserOpts = { username, ... }: {
systemUserOpts = { name, ... }: {
options = with lib.types; {
username = mkOption {
type = str;
description = "The system user's login name.";
default = username;
default = name;
};
description = mkOption {
@@ -23,7 +23,9 @@ rec {
};
};
userOpts = { username, ... }: {
userOpts = { name, ... }: let
username = name;
in {
options = with lib.types; {
username = mkOption {
type = str;