mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-08-26 21:56:20 +02:00
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:
@@ -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";
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user