Move profiles from ./profile-config to ./profile
This commit is contained in:
+5
-3
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user