add: miracast support

This commit is contained in:
2025-03-14 18:59:13 +01:00
parent 893aa88155
commit 42751bf2f0
8 changed files with 23 additions and 39 deletions

View File

@ -8,4 +8,16 @@ in {
networking.wireless.enable = pkgs.lib.mkIf wirelessEnabled true;
networking.wireless.userControlled.enable = pkgs.lib.mkIf wirelessEnabled true;
networking.firewall = {
trustedInterfaces = [ "p2p-wl+" ];
allowedTCPPorts = [
7236
7250
];
allowedUDPPorts = [
7236
5353
];
};
}

View File

@ -32,6 +32,11 @@
};
};
services.geoclue2 = {
enableWifi = true;
geoProviderUrl = "https://api.beacondb.net/v1/geolocate";
};
services.dbus.enable = true;
services.pipewire = {
enable = true;