about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2024-10-07 21:24:02 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2024-10-07 21:24:02 +0200
commit921284a283571bde5c35cfc8cc58467412e34cbf (patch)
tree17ff11a371234fa87b5e84c59d477d4d0263212a
parent6f9b719cf75b64cf23566bb4e4992b6cd7ec3e78 (diff)
downloaddots-921284a283571bde5c35cfc8cc58467412e34cbf.tar.gz
dots-921284a283571bde5c35cfc8cc58467412e34cbf.zip
t14: 74 current 2024-10-07 21:23:51 24.05.20241004.6e6b3dd 6.6.54 *
-rw-r--r--modules/gnome-cast.nix8
-rw-r--r--modules/gnome.nix5
2 files changed, 13 insertions, 0 deletions
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;