diff --git a/modules/home-manager/desktop/sway/includes/kanshi.nix b/modules/home-manager/desktop/sway/includes/kanshi.nix index d212c4b..a0453e3 100644 --- a/modules/home-manager/desktop/sway/includes/kanshi.nix +++ b/modules/home-manager/desktop/sway/includes/kanshi.nix @@ -4,18 +4,21 @@ with lib; config = mkIf config.modules.desktop.sway.enable { services.kanshi = { enable = config.modules.desktop.sway.kanshi ; - profiles = { - standalone = { - outputs = [ + settings = [ + { + + profile.name = "standalone"; + profile.outputs = [ { criteria = "eDP-1"; scale = 1.33; status = "enable"; } ]; - }; - home = { - outputs = [ + } + { + profile.name = "home"; + profile.outputs = [ { criteria = "Iiyama North America PL2792UH 1166310803122"; mode = "3840x2160"; @@ -34,9 +37,10 @@ with lib; status = "disable"; } ]; - }; - work = { - outputs = [ + } + { + profile.name = "work"; + profile.outputs = [ { criteria = "Iiyama North America PL2480H 11183M2807013"; mode = "1920x1080"; @@ -52,8 +56,8 @@ with lib; status = "disable"; } ]; - }; - }; + } + ]; }; }; }