feat: added user2 and refactored to accommodate

This commit is contained in:
Nick 2025-01-28 20:45:11 -06:00
parent c169f84dcc
commit 9cdcf4fec4
97 changed files with 1473 additions and 1052 deletions

View file

@ -12,9 +12,6 @@ let
attrList = lib.mkOption {
type = lib.types.attrsOf lib.types.str;
};
boolType = lib.mkOption {
type = lib.types.bool;
};
numOptions = 20;
@ -87,7 +84,7 @@ let
ip = genOptions stringType "address";
label = stringType;
name = stringType;
sync = stringType;
sync = genOptions stringType "address";
}
// genOptions mountConfig "folder"
// genOptions mountConfig "samba"
@ -96,14 +93,14 @@ let
themesSubmodule = lib.types.submodule {
options = {
currentTheme = stringType;
font = {
name = stringType;
size = {
applications = intType;
desktop = intType;
popups = intType;
terminal = intType;
currentThemes = genOptions stringType "theme";
fonts = {
names = genOptions stringType "name";
sizes = {
applications = genOptions intType "size";
desktop = genOptions intType "size";
popups = genOptions intType "size";
terminal = genOptions intType "size";
};
};
cursor = {