sway: remove unused installConfigs option
This commit is contained in:
parent
9582ea2e0a
commit
d7751fb300
|
@ -19,13 +19,6 @@ in
|
||||||
default = true;
|
default = true;
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
};
|
};
|
||||||
sane.gui.sway.installConfigs = mkOption {
|
|
||||||
default = true;
|
|
||||||
type = types.bool;
|
|
||||||
description = ''
|
|
||||||
populate ~/.config/sway/config & co with defaults provided by this module.
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
sane.gui.sway.config = {
|
sane.gui.sway.config = {
|
||||||
extra_lines = mkOption {
|
extra_lines = mkOption {
|
||||||
type = types.lines;
|
type = types.lines;
|
||||||
|
@ -246,13 +239,11 @@ in
|
||||||
".config/waybar/style.css".symlink.text =
|
".config/waybar/style.css".symlink.text =
|
||||||
(builtins.readFile ./waybar-style.css) + cfg.waybar.extra_style;
|
(builtins.readFile ./waybar-style.css) + cfg.waybar.extra_style;
|
||||||
|
|
||||||
".config/sway/config" = lib.mkIf cfg.installConfigs {
|
".config/sway/config".symlink.target = import ./sway-config.nix {
|
||||||
symlink.target = import ./sway-config.nix {
|
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
inherit (cfg) config;
|
inherit (cfg) config;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user