kanshi only on jimbo, static monitor config on cray

This commit is contained in:
fleaz 2022-02-23 20:55:25 +01:00
parent eee41375d2
commit ca95081b3e
4 changed files with 17 additions and 35 deletions

View file

@ -14,6 +14,8 @@ in
modules/neovim.nix
modules/vscode.nix
modules/sway.nix
] ++ lib.optionals (config.networking.hostName == "jimbo") [
modules/kanshi.nix
];
gtk = {

View file

@ -0,0 +1,6 @@
{
services.kanshi = {
enable = true;
};
}

View file

@ -1,4 +1,4 @@
{ pkgs, ... }:
{ pkgs, nixosConfig, lib, ... }:
{
wayland.windowManager.sway = {
enable = true;
@ -16,23 +16,24 @@
};
output = {
"*".bg = "/home/fleaz/Downloads/spongebob.jpg fill";
"DVI-D-1" = {
} // lib.optionals (nixosConfig.networking.hostName == "cray") {
"DP-1" = {
mode = "1920x1200";
transform = "270";
position = "0,0";
};
"HDMI-A-1" = {
mode = "3840x2160";
scale = "1.2";
scale = "1.3";
position = "1200,0";
};
"DP-1" = {
"DP-2" = {
mode = "3840x2160";
scale = "1.2";
position = "4400,0";
scale = "1.3";
position = "4152,0";
};
};
gaps = { inner = 8; };
window.border = 0;
workspaceAutoBackAndForth = true;