Major config overhaul: use custom modules, setup for multi-host config, and less boilerplate
This commit is contained in:
18
modules/user/userInfo/default.nix
Normal file
18
modules/user/userInfo/default.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
options = {
|
||||
userSettings = {
|
||||
name = lib.mkOption {
|
||||
default = "";
|
||||
description = "User full name";
|
||||
type = lib.types.str;
|
||||
};
|
||||
email = lib.mkOption {
|
||||
default = "";
|
||||
description = "User email";
|
||||
type = lib.types.str;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user