nixos-config/modules/services/kanshi.nix

32 lines
792 B
Nix
Raw Normal View History

2022-10-31 17:01:43 +01:00
#
# System notifications
#
{ config, lib, pkgs, ... }:
{
services.kanshi = {
enable = true;
profiles = {
undocked = {
outputs = [
2022-11-01 16:20:08 +01:00
{ criteria = "eDP-1"; status = "enable"; }
2022-10-31 17:01:43 +01:00
];
};
2022-11-03 16:10:46 +01:00
docked_c = {
2022-10-31 17:01:43 +01:00
outputs = [
2022-11-01 16:20:08 +01:00
{ criteria = "eDP-1"; status = "enable"; }
2022-11-03 16:10:46 +01:00
{ criteria = "DP-1"; status = "enable"; }
];
};
docked_triple = {
outputs = [
{ criteria = "eDP-1"; status = "enable"; }
{ criteria = "DP-1"; status = "enable"; }
2022-11-01 16:20:08 +01:00
{ criteria = "HDMI-A-1"; status = "enable"; }
2022-10-31 17:01:43 +01:00
];
};
};
};
}