create a kanshi service

This commit is contained in:
Kabbone 2022-10-31 17:01:43 +01:00
parent 814391b33d
commit 24ccd8ac6f

View File

@ -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";
}
];
};
};
};
}