2022-06-04 23:49:08 +00:00
|
|
|
{ nixosConfig, ... }:
|
|
|
|
let
|
|
|
|
machines = {
|
2024-06-18 19:37:12 +00:00
|
|
|
smithers = [{
|
|
|
|
profile.name = "laptop-only";
|
|
|
|
profile.outputs = [
|
|
|
|
{
|
|
|
|
criteria = "eDP-1";
|
|
|
|
scale = 1.3;
|
|
|
|
}
|
|
|
|
];
|
|
|
|
}
|
|
|
|
{
|
|
|
|
profile.name = "homeoffice";
|
|
|
|
profile.outputs = [
|
2022-03-02 14:28:37 +00:00
|
|
|
{
|
|
|
|
criteria = "eDP-1";
|
2024-04-04 19:22:27 +00:00
|
|
|
status = "disable";
|
2022-03-02 14:28:37 +00:00
|
|
|
}
|
|
|
|
{
|
2024-04-16 20:31:01 +00:00
|
|
|
criteria = "DP-10";
|
2022-03-02 14:28:37 +00:00
|
|
|
scale = 1.3;
|
2024-04-04 19:22:27 +00:00
|
|
|
position = "0,0";
|
2022-03-02 14:28:37 +00:00
|
|
|
}
|
|
|
|
{
|
2024-04-16 20:31:01 +00:00
|
|
|
criteria = "DP-9";
|
2022-03-02 14:28:37 +00:00
|
|
|
scale = 1.3;
|
2024-04-04 19:22:27 +00:00
|
|
|
position = "2952,0";
|
2022-03-02 14:28:37 +00:00
|
|
|
}
|
|
|
|
];
|
2024-06-18 19:37:12 +00:00
|
|
|
}];
|
2022-02-23 22:42:42 +00:00
|
|
|
};
|
2022-06-04 23:49:08 +00:00
|
|
|
in
|
|
|
|
{
|
|
|
|
services.kanshi = {
|
|
|
|
enable = true;
|
2024-06-18 19:37:12 +00:00
|
|
|
settings = machines."${nixosConfig.networking.hostName}";
|
2022-06-04 23:49:08 +00:00
|
|
|
};
|
2022-02-23 19:55:25 +00:00
|
|
|
|
|
|
|
}
|