NixOS-Configs/home/gui/services.nix
2024-04-03 20:41:26 -05:00

52 lines
1.1 KiB
Nix

{ ... }:
{
services = {
gnome-keyring = {
enable = true;
};
safeeyes = {
enable = true;
};
ssh-agent = {
enable = true;
};
kanshi = {
enable = true;
profiles = {
undocked = {
outputs = [
{
criteria = "eDP-1";
status = "enable";
scale = 1.2;
}
];
};
docked = {
outputs = [
{
criteria = "eDP-1";
status = "disable";
}
{
criteria = "DP-5";
status = "enable";
position = "0,0";
}
{
criteria = "DP-6";
status = "enable";
position = "0,1080";
}
];
exec = [
"swaymsg workspace 1, move workspace to output DP-5"
"swaymsg workspace 5, move workspace to output DP-6"
"swaymsg workspace 6, move workspace to output DP-5"
"swaymsg workspace 9, move workspace to output DP-6"
];
};
};
};
};
}