kde connect, pipewire casting, swayidle
This commit is contained in:
parent
c76ad7b231
commit
0ef2de2dac
2 changed files with 31 additions and 0 deletions
|
|
@ -81,6 +81,7 @@ in
|
||||||
brave
|
brave
|
||||||
quickemu
|
quickemu
|
||||||
bitwarden
|
bitwarden
|
||||||
|
libsForQt5.kasts
|
||||||
]) ++ (with my-scripts; [
|
]) ++ (with my-scripts; [
|
||||||
play-pause
|
play-pause
|
||||||
bwmenu
|
bwmenu
|
||||||
|
|
@ -105,10 +106,17 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
services.swayidle.enable = true;
|
services.swayidle.enable = true;
|
||||||
|
services.swayidle.systemdTarget = "graphical-session.target";
|
||||||
services.swayidle.events = [
|
services.swayidle.events = [
|
||||||
{ event = "before-sleep"; command = "${pkgs.swaylock-effects}/bin/swaylock"; }
|
{ event = "before-sleep"; command = "${pkgs.swaylock-effects}/bin/swaylock"; }
|
||||||
{ event = "lock"; 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 = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
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 = {
|
systemd.user.services = {
|
||||||
snapclient = {
|
snapclient = {
|
||||||
Unit = {
|
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;
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,12 @@
|
||||||
};
|
};
|
||||||
# pipewire raop
|
# pipewire raop
|
||||||
networking.firewall.allowedUDPPorts = [ 6002 6001 ];
|
networking.firewall.allowedUDPPorts = [ 6002 6001 ];
|
||||||
|
# network streaming
|
||||||
|
networking.firewall.allowedTCPPorts = [ 4713 ];
|
||||||
|
|
||||||
|
# kde connect
|
||||||
|
networking.firewall.allowedTCPPortRanges = [{ from = 1714; to = 1764; }];
|
||||||
|
networking.firewall.allowedUDPPortRanges = [{ from = 1714; to = 1764; }];
|
||||||
|
|
||||||
services.avahi.enable = true;
|
services.avahi.enable = true;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue