chore: Clean extra waybar settings for niri
This commit is contained in:
parent
39b698ddeb
commit
67c35b2dc5
2 changed files with 0 additions and 21 deletions
|
|
@ -6,12 +6,6 @@
|
||||||
cfg = config.david.programs.niri;
|
cfg = config.david.programs.niri;
|
||||||
in {
|
in {
|
||||||
david.programs.niri = lib.mkIf cfg.enable {
|
david.programs.niri = lib.mkIf cfg.enable {
|
||||||
waybar.settings = let
|
|
||||||
cfg = config.david.programs.niri.waybar;
|
|
||||||
in [
|
|
||||||
(cfg.template // (cfg.helper.mkBacklight "ddcci13") // {output = "DP-1";})
|
|
||||||
(cfg.template // (cfg.helper.mkBacklight "nvidia_0") // {output = "eDP-2";})
|
|
||||||
];
|
|
||||||
wluma.extraSettings = {
|
wluma.extraSettings = {
|
||||||
output = {
|
output = {
|
||||||
backlight = [
|
backlight = [
|
||||||
|
|
|
||||||
|
|
@ -41,21 +41,6 @@ in {
|
||||||
wluma.extraSettings = lib.mkOption {
|
wluma.extraSettings = lib.mkOption {
|
||||||
inherit (options.david.programs.wluma.extraSettings) type;
|
inherit (options.david.programs.wluma.extraSettings) type;
|
||||||
};
|
};
|
||||||
waybar = {
|
|
||||||
template = lib.mkOption {
|
|
||||||
readOnly = true;
|
|
||||||
type = lib.types.anything;
|
|
||||||
default = config.david.programs.waybar.template;
|
|
||||||
};
|
|
||||||
helper = lib.mkOption {
|
|
||||||
readOnly = true;
|
|
||||||
type = lib.types.anything;
|
|
||||||
default = config.david.programs.waybar.helper;
|
|
||||||
};
|
|
||||||
settings = lib.mkOption {
|
|
||||||
inherit (options.david.programs.waybar.settings) type;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
config = lib.mkMerge [
|
config = lib.mkMerge [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue