summaryrefslogtreecommitdiff
path: root/common.nix
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2023-10-02 14:09:08 +0530
committersinanmohd <sinan@sinanmohd.com>2023-10-02 14:09:08 +0530
commit2224c03b0b962599742b280a467266543c7652f8 (patch)
treeaf384d49efb349fc3cdd496eef68b08179621d0c /common.nix
parent01f27a737baad078fcec5ca9f03a4850e354ef36 (diff)
modules/userdata: remove options.description
Diffstat (limited to 'common.nix')
-rw-r--r--common.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/common.nix b/common.nix
index 23c36fd..9e498ea 100644
--- a/common.nix
+++ b/common.nix
@@ -3,7 +3,7 @@
let
user = config.userdata.user;
groups = config.userdata.groups;
- description = config.userdata.description;
+ description = config.userdata.email;
pubKeys = config.userdata.pubKeys;
host = config.networking.hostName;
in
@@ -36,7 +36,7 @@ in
# users
users.users.${user} = {
- description = description;
+ inherit description;
isNormalUser = true;
extraGroups = [
"wheel"