summaryrefslogtreecommitdiff
path: root/modules/root/software/desktop.nix
blob: 195d7429e85be2c5c1e0e60061eb43a0e0f76b5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ pkgs, lib, config, ... }: {
	options = {
		software.desktop.enable = lib.mkEnableOption "enables desktop apps";
	};

	config = lib.mkIf config.software.desktop.enable {
		programs.dconf.enable = true;  # For home-manager to configure gtk

		environment.systemPackages = with pkgs; [
			alacritty
			arandr
			dmenu
			firefox
			mpv
			pavucontrol
			pcmanfm
			redshift
			sxiv
			zathura
		];
	};
}