system/miracast: init
Some checks are pending
/ Build Nix targets (push) Waiting to run

This commit is contained in:
Felix Buehler 2025-07-31 20:40:05 +02:00
parent 7e5d13ac3d
commit 0b297a99c1
2 changed files with 32 additions and 0 deletions

View file

@ -5,6 +5,7 @@
./docker
./fonts
./kvm
./miracast
./podman
./spell-check
];

View file

@ -0,0 +1,31 @@
# miracast related settings
{
config,
lib,
options,
pkgs,
...
}:
let
cfg = config.my.system.miracast;
in
{
options.my.system.miracast = with lib; {
enable = mkEnableOption "miracast configuration";
};
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
gnome-network-displays
];
networking.firewall.allowedTCPPorts = [
7236
7250
];
networking.firewall.allowedUDPPorts = [
7236
5353
];
};
}