rename common module to nixos

This commit is contained in:
willifan 2025-02-09 16:49:24 +01:00
parent 68cc9cbc1d
commit f22fddbd3e
60 changed files with 1 additions and 1 deletions

View file

@ -0,0 +1,57 @@
{ lib, config, ... }:
{
options = {
common = {
builder.enable = lib.mkOption {
default = false;
type = lib.types.bool;
};
};
desktop = {
enable = lib.mkOption {
default = false;
type = lib.types.bool;
};
emulation.enable = lib.mkOption {
default = false;
type = lib.types.bool;
};
dev.enable = lib.mkOption {
default = false;
type = lib.types.bool;
};
laser.enable = lib.mkOption {
default = false;
type = lib.types.bool;
};
autologin.enable = lib.mkOption {
default = config.desktop.enable;
type = lib.types.bool;
};
windowManager = lib.mkOption {
default = "Hyprland";
type = lib.types.str;
};
wm.plasma6.enable = lib.mkOption {
default = false;
type = lib.types.bool;
};
};
server.enable = lib.mkOption {
default = false;
type = lib.types.bool;
};
};
}