mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-21 15:53:32 +01: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:
parent
8d402cdad7
commit
d538e2c8fa
@ -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";
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user