more 24.05 changes
This commit is contained in:
parent
4c6f3b277f
commit
1bfb290532
|
@ -1,17 +1,18 @@
|
||||||
{ nixosConfig, ... }:
|
{ nixosConfig, ... }:
|
||||||
let
|
let
|
||||||
machines = {
|
machines = {
|
||||||
smithers = {
|
smithers = [{
|
||||||
"laptop-only" = {
|
profile.name = "laptop-only";
|
||||||
outputs = [
|
profile.outputs = [
|
||||||
{
|
{
|
||||||
criteria = "eDP-1";
|
criteria = "eDP-1";
|
||||||
scale = 1.3;
|
scale = 1.3;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
}
|
||||||
"homeoffice" = {
|
{
|
||||||
outputs = [
|
profile.name = "homeoffice";
|
||||||
|
profile.outputs = [
|
||||||
{
|
{
|
||||||
criteria = "eDP-1";
|
criteria = "eDP-1";
|
||||||
status = "disable";
|
status = "disable";
|
||||||
|
@ -27,14 +28,13 @@ let
|
||||||
position = "2952,0";
|
position = "2952,0";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
}];
|
||||||
};
|
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
services.kanshi = {
|
services.kanshi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
profiles = machines."${nixosConfig.networking.hostName}";
|
settings = machines."${nixosConfig.networking.hostName}";
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,6 +8,11 @@ in
|
||||||
package = pkgs.swayfx;
|
package = pkgs.swayfx;
|
||||||
wrapperFeatures.gtk = true;
|
wrapperFeatures.gtk = true;
|
||||||
|
|
||||||
|
# Sway can't find wallpaper.jpg and failes to build
|
||||||
|
# swayfx also has some problems:
|
||||||
|
# https://discourse.nixos.org/t/sway-fails-with-cannot-create-gles2-renderer-after-update/45703/2
|
||||||
|
checkConfig = false;
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
modifier = "Mod4";
|
modifier = "Mod4";
|
||||||
focus.followMouse = false;
|
focus.followMouse = false;
|
||||||
|
|
Loading…
Reference in a new issue