home/kanshi: Update config for smithers

This commit is contained in:
fleaz 2024-04-04 21:22:27 +02:00
parent 0617f76779
commit ec7c98dcc8
No known key found for this signature in database
GPG key ID: AED15F8FDD04D083

View file

@ -1,22 +1,12 @@
{ nixosConfig, ... }: { nixosConfig, ... }:
let let
machines = { machines = {
milhouse = { smithers = {
"laptop" = { "laptop-only" = {
outputs = [ outputs = [
{ {
criteria = "eDP-1"; criteria = "eDP-1";
scale = 1.0; scale = 1.3;
}
];
};
};
jimbo = {
"laptop" = {
outputs = [
{
criteria = "eDP-1";
scale = 1.8;
} }
]; ];
}; };
@ -24,18 +14,17 @@ let
outputs = [ outputs = [
{ {
criteria = "eDP-1"; criteria = "eDP-1";
scale = 1.8; status = "disable";
}
{
criteria = "DP-9";
scale = 1.3;
position = "0,0"; position = "0,0";
} }
{ {
criteria = "DP-3"; criteria = "DP-10";
scale = 1.3; scale = 1.3;
position = "2133,0"; position = "2952,0";
}
{
criteria = "DP-1";
scale = 1.3;
position = "5087,0";
} }
]; ];
}; };
@ -45,7 +34,6 @@ in
{ {
services.kanshi = { services.kanshi = {
enable = true; enable = true;
#profiles = lookup machines "milhouse";
profiles = machines."${nixosConfig.networking.hostName}"; profiles = machines."${nixosConfig.networking.hostName}";
}; };