summaryrefslogtreecommitdiffstats
path: root/hosts/poweredge/avidemux.nix
blob: 302f0f2e7db575d7385b1175db5c61a1bcbc6115 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ config, lib, pkgs, ... }: {
	# SSH forwarding
	services.openssh = {
		settings = {
			X11Forwarding = true;
			X11UseLocalhost = true;  # bind forwarded displays to loopback only
		};
	};

	# sshd needs xauth to create the forwarded display's cookie
	programs.ssh.setXAuthLocation = true;

	# Install avidemux and xauth
	environment.systemPackages = with pkgs; [
		avidemux
		xauth
	];
}