From d7751fb30072029673bfc9a74ccb4cb2adb6b6eb Mon Sep 17 00:00:00 2001 From: Colin Date: Thu, 7 Sep 2023 10:33:28 +0000 Subject: [PATCH] sway: remove unused installConfigs option --- hosts/modules/gui/sway/default.nix | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/hosts/modules/gui/sway/default.nix b/hosts/modules/gui/sway/default.nix index ca1230c2..fa251ce2 100644 --- a/hosts/modules/gui/sway/default.nix +++ b/hosts/modules/gui/sway/default.nix @@ -19,13 +19,6 @@ in default = true; 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 = { extra_lines = mkOption { type = types.lines; @@ -246,11 +239,9 @@ in ".config/waybar/style.css".symlink.text = (builtins.readFile ./waybar-style.css) + cfg.waybar.extra_style; - ".config/sway/config" = lib.mkIf cfg.installConfigs { - symlink.target = import ./sway-config.nix { + ".config/sway/config".symlink.target = import ./sway-config.nix { inherit pkgs; inherit (cfg) config; - }; }; }; })