completely refactor and modularize flake

This commit is contained in:
willifan 2024-12-26 23:10:52 +01:00
parent 3b1ed7e281
commit b7210fcf8e
141 changed files with 884 additions and 2605 deletions

View file

@ -0,0 +1,65 @@
{ lib, config, ... }:
{
options = {
desktop = {
autologin.enable = lib.mkOption {
default = config.desktop.enable;
type = lib.types.bool;
};
fuzzel.enable = lib.mkOption {
default = config.desktop.enable;
type = lib.types.bool;
};
hyprexit.enable = lib.mkOption {
default = config.desktop.enable;
type = lib.types.bool;
};
hypridle.enable = lib.mkOption {
default = config.desktop.enable;
type = lib.types.bool;
};
hyprland = {
enable = lib.mkOption {
default = config.desktop.enable;
type = lib.types.bool;
};
hardware = {
Lenni.enable = lib.mkOption {
default = false;
type = lib.types.bool;
};
Puenktchen.enable = lib.mkOption {
default = false;
type = lib.types.bool;
};
Lillie.enable = lib.mkOption{
default = false;
type = lib.types.bool;
};
};
};
hyprlock.enable = lib.mkOption {
default = config.desktop.enable;
type = lib.types.bool;
};
hyprpaper.enable = lib.mkOption {
default = config.desktop.enable;
type = lib.types.bool;
};
mako.enable = lib.mkOption {
default = config.desktop.enable;
type = lib.types.bool;
};
utils.enable = lib.mkOption {
default = config.desktop.enable;
type = lib.types.bool;
};
wlogout.enable = lib.mkOption {
default = config.desktop.enable;
type = lib.types.bool;
};
};
};
}