From 921284a283571bde5c35cfc8cc58467412e34cbf Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Mon, 7 Oct 2024 21:24:02 +0200 Subject: t14: 74 current 2024-10-07 21:23:51 24.05.20241004.6e6b3dd 6.6.54 * --- modules/gnome-cast.nix | 8 ++++++++ modules/gnome.nix | 5 +++++ 2 files changed, 13 insertions(+) create mode 100644 modules/gnome-cast.nix diff --git a/modules/gnome-cast.nix b/modules/gnome-cast.nix new file mode 100644 index 0000000..e0f0a0a --- /dev/null +++ b/modules/gnome-cast.nix @@ -0,0 +1,8 @@ +{ pkgs, ... }: +{ + environment.systemPackages = with pkgs; [ + gnome-network-displays + ]; + + networking.firewall.allowedTCPPorts = [ 7236 ]; +} diff --git a/modules/gnome.nix b/modules/gnome.nix index 314e843..f625534 100644 --- a/modules/gnome.nix +++ b/modules/gnome.nix @@ -3,6 +3,11 @@ let switch-theme = pkgs.writeShellScriptBin "switch-theme" (builtins.readFile ./switch-theme.sh); in { + + imports = [ + ./gnome-cast.nix + ]; + # Enable the X11 windowing system. services.xserver.enable = true; -- cgit 1.4.1