kde connect, pipewire casting, swayidle

This commit is contained in:
tristan 2023-04-22 09:31:03 +01:00
parent c76ad7b231
commit 0ef2de2dac
2 changed files with 31 additions and 0 deletions

View file

@ -81,6 +81,7 @@ in
brave
quickemu
bitwarden
libsForQt5.kasts
]) ++ (with my-scripts; [
play-pause
bwmenu
@ -105,10 +106,17 @@ in
};
services.swayidle.enable = true;
services.swayidle.systemdTarget = "graphical-session.target";
services.swayidle.events = [
{ event = "before-sleep"; command = "${pkgs.swaylock-effects}/bin/swaylock"; }
{ event = "lock"; command = "${pkgs.swaylock-effects}/bin/swaylock"; }
];
services.swayidle.timeouts = [
{
timeout = 60;
command = "${pkgs.swaylock-effects}/bin/swaylock -f";
}
];
wayland.windowManager.hyprland = {
enable = true;
@ -758,6 +766,19 @@ color body red default "([a-z][a-z0-9+-]*://(((([a-z0-9_.!~*'();:&=+$,-]|%[0-9a-
}
]
'';
home.file.".config/pipewire/pipewire.conf.d/tunnel.conf".text = ''
context.modules = [
{
name = module-native-protocol-tcp
},
{
name = module-zeroconf-publish
},
{
name = module-zeroconf-discover
}
]
'';
systemd.user.services = {
snapclient = {
Unit = {
@ -769,6 +790,10 @@ color body red default "([a-z][a-z0-9+-]*://(((([a-z0-9_.!~*'();:&=+$,-]|%[0-9a-
};
};
services.kdeconnect = {
enable = true;
indicator = true;
};
}