nixos-config/modules/services/kanshi.nix

25 lines
511 B
Nix

#
# System notifications
#
{ config, lib, pkgs, ... }:
{
services.kanshi = {
enable = true;
profiles = {
undocked = {
outputs = [
{ criteria = "eDP-1"; status = "enable"; }
];
};
docked = {
outputs = [
{ criteria = "eDP-1"; status = "enable"; }
{ criteria = "HDMI-A-1"; status = "enable"; }
];
};
};
};
}