more 24.05 changes

This commit is contained in:
fleaz 2024-06-18 21:37:12 +02:00
parent 4c6f3b277f
commit 1bfb290532
Signed by: fleaz
GPG key ID: AED15F8FDD04D083
2 changed files with 19 additions and 14 deletions

View file

@ -1,17 +1,18 @@
{ nixosConfig, ... }:
let
machines = {
smithers = {
"laptop-only" = {
outputs = [
{
criteria = "eDP-1";
scale = 1.3;
}
];
};
"homeoffice" = {
outputs = [
smithers = [{
profile.name = "laptop-only";
profile.outputs = [
{
criteria = "eDP-1";
scale = 1.3;
}
];
}
{
profile.name = "homeoffice";
profile.outputs = [
{
criteria = "eDP-1";
status = "disable";
@ -27,14 +28,13 @@ let
position = "2952,0";
}
];
};
};
}];
};
in
{
services.kanshi = {
enable = true;
profiles = machines."${nixosConfig.networking.hostName}";
settings = machines."${nixosConfig.networking.hostName}";
};
}