From 2224c03b0b962599742b280a467266543c7652f8 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Mon, 2 Oct 2023 14:09:08 +0530 Subject: modules/userdata: remove options.description --- common.nix | 4 ++-- modules/userdata.nix | 5 ----- 2 files changed, 2 insertions(+), 7 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" diff --git a/modules/userdata.nix b/modules/userdata.nix index 9873ded..67a5d2a 100644 --- a/modules/userdata.nix +++ b/modules/userdata.nix @@ -10,11 +10,6 @@ in default = "sinan"; description = mdDoc "Owner's username"; }; - description = mkOption { - type = types.str; - default = "sinanmohd"; - description = mdDoc "Owner's description"; - }; groups = mkOption { type = types.listOf types.str; default = []; -- cgit v1.2.3