diff options
-rw-r--r-- | modules/gnome-cast.nix | 8 | ||||
-rw-r--r-- | modules/gnome.nix | 5 |
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; |