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.
This commit is contained in:
Donovan Glover 2024-09-08 00:41:58 -04:00
parent 8d402cdad7
commit d538e2c8fa
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -7,7 +7,6 @@
}: }:
let let
inherit (lib.types) float int;
inherit (config.modules.system) username; inherit (config.modules.system) username;
inherit (config.boot) isContainer; inherit (config.boot) isContainer;
inherit (nix-config.packages.${pkgs.system}) aleo-fonts; inherit (nix-config.packages.${pkgs.system}) aleo-fonts;
@ -17,19 +16,17 @@ let
mkEnableOption mkEnableOption
mkIf mkIf
mkMerge mkMerge
mkOption
; ;
inherit (cfg) inherit (cfg) bloat;
bloat
opacity
fontSize
;
stylix-background = nix-config.packages.${pkgs.system}.stylix-background.override { stylix-background = nix-config.packages.${pkgs.system}.stylix-background.override {
color = config.lib.stylix.colors.base00; color = config.lib.stylix.colors.base00;
}; };
opacity = 0.95;
fontSize = 11;
cfg = config.modules.desktop; cfg = config.modules.desktop;
in in
{ {
@ -38,16 +35,6 @@ in
}; };
options.modules.desktop = { options.modules.desktop = {
opacity = mkOption {
type = float;
default = 0.95;
};
fontSize = mkOption {
type = int;
default = 11;
};
bloat = mkEnableOption "GUI applications"; bloat = mkEnableOption "GUI applications";
}; };