From 7d95ba04a9bf0f219c71185488f4a89bd0df5bde Mon Sep 17 00:00:00 2001 From: sora-ext Date: Tue, 12 May 2026 18:02:13 +0200 Subject: [PATCH] Add modules/shared/syscfg/user.nix --- modules/shared/syscfg/user.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 modules/shared/syscfg/user.nix diff --git a/modules/shared/syscfg/user.nix b/modules/shared/syscfg/user.nix new file mode 100644 index 0000000..5dd7b3b --- /dev/null +++ b/modules/shared/syscfg/user.nix @@ -0,0 +1,14 @@ +{ lib,... }: +with lib; { + username = mkOption { type = types.str; }; + pubssh = mkOption { type = types.str; default=""; }; + wm = mkOption { + type = types.enum [ "Wayland" "X11" "-" ]; + default = "-"; + }; + git = { + username = mkOption { type = types.str; default = "Anonymous";}; + email = mkOption { type = types.str; default = "anonymous@domain"; }; + key = mkOption { type = types.nullOr types.str; default=null; }; + }; +} \ No newline at end of file