From d538e2c8fa946443546d31214be43961b19d1c98 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Sun, 8 Sep 2024 00:41:58 -0400 Subject: [PATCH] desktop: Remove unused options Since the goal of this nix-config is to make a consistent environment across any number of systems, having options goes against this. If these configuration values need to be changed, they should affect all systems using the config by default. --- modules/desktop.nix | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/modules/desktop.nix b/modules/desktop.nix index 7ad6d4a2..d9b111b0 100644 --- a/modules/desktop.nix +++ b/modules/desktop.nix @@ -7,7 +7,6 @@ }: let - inherit (lib.types) float int; inherit (config.modules.system) username; inherit (config.boot) isContainer; inherit (nix-config.packages.${pkgs.system}) aleo-fonts; @@ -17,19 +16,17 @@ let mkEnableOption mkIf mkMerge - mkOption ; - inherit (cfg) - bloat - opacity - fontSize - ; + inherit (cfg) bloat; stylix-background = nix-config.packages.${pkgs.system}.stylix-background.override { color = config.lib.stylix.colors.base00; }; + opacity = 0.95; + fontSize = 11; + cfg = config.modules.desktop; in { @@ -38,16 +35,6 @@ in }; options.modules.desktop = { - opacity = mkOption { - type = float; - default = 0.95; - }; - - fontSize = mkOption { - type = int; - default = 11; - }; - bloat = mkEnableOption "GUI applications"; };