diff --git a/modules/services/kanshi.nix b/modules/services/kanshi.nix new file mode 100644 index 0000000..15fd4b4 --- /dev/null +++ b/modules/services/kanshi.nix @@ -0,0 +1,27 @@ +# +# System notifications +# + +{ config, lib, pkgs, ... }: + +{ + services.kanshi = { + enable = true; + profiles = { + undocked = { + outputs = [ + { + criteria = "eDP-1"; + } + ]; + }; + docked = { + outputs = [ + { + criteria = "HDMI-A-1"; status = "enable"; + } + ]; + }; + }; + }; +}