NixOS-Configs/home/gui/services.nix
2024-06-14 22:13:59 -05:00

63 lines
1.7 KiB
Nix

{ ... }:
{
services = {
wayland-pipewire-idle-inhibit = {
enable = true;
systemdTarget = "sway-session.target";
settings = {
verbosity = "INFO";
media_minimum_duration = 10;
idle_inhibitor = "wayland";
# sink_whitelist = [
# { name = "Starship/Matisse HD Audio Controller Analog Stereo"; }
# ];
node_blacklist = [
{ name = "nov"; }
];
};
};
gnome-keyring = {
enable = true;
};
ssh-agent = {
enable = true;
};
# kanshi = {
# enable = true;
# profiles = {
# undocked = {
# outputs = [
# {
# criteria = "eDP-1";
# status = "enable";
# }
# ];
# };
# docked = {
# outputs = [
# {
# criteria = "eDP-1";
# status = "disable";
# }
# {
# criteria = "Samsung Electric Company C24F390 H4ZN519488";
# status = "enable";
# position = "0,0";
# }
# {
# criteria = "Stargate Technology HDMI ";
# status = "enable";
# position = "0,1080";
# }
# ];
# exec = [
# "swaymsg workspace 1, move workspace to output '\"Samsung Electric Company C24F390 H4ZN519488\"'"
# "swaymsg workspace 5, move workspace to output '\"Stargate Technology HDMI \"'"
# "swaymsg workspace 6, move workspace to output '\"Samsung Electric Company C24F390 H4ZN519488\"'"
# "swaymsg workspace 9, move workspace to output '\"Stargate Technology HDMI \"'"
# ];
# };
# };
# };
};
}