summaryrefslogtreecommitdiff
path: root/userdata.nix
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-03-08 19:19:07 +0530
committersinanmohd <sinan@sinanmohd.com>2024-03-08 19:25:55 +0530
commit3ecdc02f33cb58b6bf313ca7ab2ddd94e49148e8 (patch)
tree0a3d752aee65d7503eaf6793d2af24b10e1cadf4 /userdata.nix
parent3ea06b0f61da129b6cd6a4f4d8648f051c30a74c (diff)
userdata: user -> name, userFq -> nameFq
Diffstat (limited to 'userdata.nix')
-rw-r--r--userdata.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/userdata.nix b/userdata.nix
index ebcd1db..564f1f0 100644
--- a/userdata.nix
+++ b/userdata.nix
@@ -6,12 +6,12 @@ let
in
{
options.userdata = {
- user = mkOption {
+ name = mkOption {
type = types.str;
default = "sinan";
description = "Owner's username";
};
- userFq = mkOption {
+ nameFq = mkOption {
type = types.str;
default = "sinanmohd";
description = "Owner's fully qualified username";
@@ -23,7 +23,7 @@ in
};
email = mkOption {
type = types.str;
- default = "${cfg.user}@${cfg.domain}";
+ default = "${cfg.name}@${cfg.domain}";
description = "Owner's email";
};
};