Add modules/shared/syscfg/user.nix
This commit is contained in:
14
modules/shared/syscfg/user.nix
Normal file
14
modules/shared/syscfg/user.nix
Normal 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; };
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user