Add modules/shared/syscfg/user.nix

This commit is contained in:
2026-05-12 18:02:13 +02:00
parent 9169205357
commit 7d95ba04a9

View File

@@ -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; };
};
}