nixos/hosts/Ronin/home.nix
Evie Litherland-Smith 0189318222 Re-enable kanshi
Hyprland update should have fixed how monitors are disabled to make
kanshi work again
2023-11-21 11:38:17 +00:00

49 lines
1 KiB
Nix

{ config, pkgs, lib, ... }:
{
programs.git.userEmail = "evie.litherland-smith@ukaea.uk";
accounts = {
email.accounts = {
proton.primary = false;
outlook.primary = true;
};
calendar.accounts = {
nextcloud.vdirsyncer.enable = false; # TEMP until fixed
nextcloud.primary = false;
outlook.primary = true;
};
};
services.kanshi = {
enable = true;
profiles = {
undocked = {
outputs = [{
criteria = "eDP-1";
status = "enable";
}];
};
docked = {
outputs = [
{
criteria = "Dell Inc. DELL P3223QE CCG8YN3";
status = "enable";
}
{
criteria = "eDP-1";
status = "disable";
}
];
};
};
};
xdg.configFile."hypr/extra.conf".text = ''
misc {
disable_hyprland_logo = true
disable_splash_rendering = true
}
monitor=eDP-1,preferred,2560x576,1.25
monitor=desc:Dell Inc. DELL P3223QE CCG8YN3,preferred,0x0,1.5
'';
}