From 4730b215fdc4095800fedfdf690c12fec994bb6b Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Wed, 2 Oct 2024 22:07:10 -0500 Subject: more reorganizing and modularizing --- modules/root/software/desktop.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 modules/root/software/desktop.nix (limited to 'modules/root/software/desktop.nix') diff --git a/modules/root/software/desktop.nix b/modules/root/software/desktop.nix new file mode 100644 index 0000000..195d742 --- /dev/null +++ b/modules/root/software/desktop.nix @@ -0,0 +1,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 + ]; + }; +} -- cgit v1.2.3