My Nix Configuration

[homes.*.zaphod] Update kanshi profiles

Changed files
+66 -39
homes
x86_64-linux
pyrox@zaphod
thehedgehog@zaphod
+33 -39
homes/x86_64-linux/pyrox@zaphod/default.nix
···
home.stateVersion = osConfig.system.stateVersion;
py = {
profiles.desktop.enable = true;
-
services.kanshi = {
-
enable = true;
-
settings = [
-
{
-
profile = {
-
name = "default";
-
outputs = [
-
{
-
criteria = "eDP-1";
-
status = "enable";
-
scale = 1.2;
-
position = "0,0";
-
adaptiveSync = true;
-
}
-
];
-
};
-
}
-
{
-
profile = {
-
name = "office";
-
outputs = [
-
{
-
criteria = "eDP-1";
-
status = "enable";
-
scale = 1.2;
-
position = "0,0";
-
adaptiveSync = true;
-
}
-
{
-
criteria = "Acer Technologies SA241Y 0x1497CF17";
-
status = "enable";
-
scale = 1.0;
-
position = "2160,0";
-
adaptiveSync = true;
-
}
-
];
-
};
-
}
-
];
+
};
+
services.kanshi = {
+
enable = true;
+
profiles = {
+
laptop-only = {
+
outputs = [
+
{
+
criteria = "eDP-1";
+
status = "enable";
+
scale = 1.2;
+
position = "0,0";
+
adaptiveSync = true;
+
}
+
];
+
};
+
office = {
+
outputs = [
+
{
+
criteria = "eDP-1";
+
status = "enable";
+
scale = 1.2;
+
position = "0,0";
+
adaptiveSync = true;
+
}
+
{
+
criteria = "Acer Technologies SA241Y 0x1497CF17";
+
status = "enable";
+
scale = 1.0;
+
position = "2160,0";
+
adaptiveSync = true;
+
}
+
];
+
};
};
};
}
+33
homes/x86_64-linux/thehedgehog@zaphod/default.nix
···
};
home.stateVersion = osConfig.system.stateVersion;
py.profiles.desktop.enable = true;
+
services.kanshi = {
+
enable = true;
+
profiles = {
+
laptop-only = {
+
outputs = [
+
{
+
criteria = "eDP-1";
+
status = "enable";
+
scale = 1.2;
+
position = "0,0";
+
adaptiveSync = true;
+
}
+
];
+
};
+
office = {
+
outputs = [
+
{
+
criteria = "eDP-1";
+
status = "enable";
+
scale = 1.2;
+
position = "0,0";
+
adaptiveSync = true;
+
}
+
{
+
criteria = "Acer Technologies SA241Y 0x1497CF17";
+
status = "enable";
+
scale = 1.0;
+
position = "2160,0";
+
}
+
];
+
};
+
};
+
};
}