rename common module to nixos
This commit is contained in:
parent
68cc9cbc1d
commit
f22fddbd3e
60 changed files with 1 additions and 1 deletions
57
modules/default/nixos/options.nix
Normal file
57
modules/default/nixos/options.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue