summaryrefslogtreecommitdiff
path: root/options.nix
diff options
context:
space:
mode:
Diffstat (limited to 'options.nix')
-rw-r--r--options.nix33
1 files changed, 27 insertions, 6 deletions
diff --git a/options.nix b/options.nix
index 9753f99..61dbc09 100644
--- a/options.nix
+++ b/options.nix
@@ -19,6 +19,11 @@ with lib; let
default = "";
};
+ laptop = mkEnableOption {
+ description = "Flags this monitor to be part of a laptop and not docked.";
+ default = false;
+ };
+
position = {
enabled = mkEnableOption {
description = "Enables hardcoded position of the monitor.";
@@ -71,7 +76,7 @@ with lib; let
# theme color options
- colorOpts = _: {
+ colorOpts = self: {
options = {
name = mkOption {
type = types.str;
@@ -113,6 +118,18 @@ with lib; let
description = "Primary accent color";
};
+ secondary = mkOption {
+ type = types.str;
+ description = "Secondary accent color";
+ default = self.primary;
+ };
+
+ tertiary = mkOption {
+ type = types.str;
+ description = "tertiary accent color";
+ default = self.secondary;
+ };
+
success = mkOption {
type = types.str;
description = "Success color";
@@ -252,6 +269,11 @@ in {
description = "NixOS State Version";
default = "26.05";
};
+ cores = mkOption {
+ type = types.int;
+ description = "Number of logical cores on the system";
+ default = 8;
+ };
#
# Packages
@@ -280,9 +302,6 @@ in {
tpm = mkEnableOption {
description = "Enable system TPM";
};
- hardened = mkEnableOption {
- description = "Hardened the NixOS system";
- };
minimal = mkEnableOption {
description = "Install only required system services, drivers, and programs.";
};
@@ -418,7 +437,7 @@ in {
lockscreen = mkOption {
type = types.str;
description = "Path to lockscreen image";
- default = toString ./files/wallpapers/flower.jpg;
+ default = toString ./files/wallpapers/moran.jpg;
};
avatar = mkOption {
@@ -461,11 +480,14 @@ in {
apps = {
alacritty.enable = mkEnableOption "Enable the alacritty terminal.";
astal.enable = mkEnableOption "Enable the astal gtk shell.";
+ kanshi.enable = mkEnableOption "Enable the kanshi service.";
kitty.enable = mkEnableOption "Enable the kitty terminal.";
mako.enable = mkEnableOption "Enable the mako notification daemon.";
hyprlock.enable = mkEnableOption "Enable the hyprlock lockscreen.";
waybar.enable = mkEnableOption "Enable the waybar bar.";
wofi.enable = mkEnableOption "Enable the wofi launcher.";
+ rofi.enable = mkEnableOption "Enable the rofi launcher.";
+ caelestia.enable = mkEnableOption "Enable the caelestia service.";
};
#
@@ -473,7 +495,6 @@ in {
#
browsers = {
firefox.enable = mkEnableOption "Enable the firefox browser.";
- zen.enable = mkEnableOption "Enable the zen browser.";
};
#