Add inkscape on mac

This commit is contained in:
Nathan McCarty 2023-07-21 19:08:40 -04:00
parent 0e7f6d0383
commit 985536556e
Signed by: thatonelutenist
SSH Key Fingerprint: SHA256:3elIBybO7zXuCg+/os7OlO2fwfRPXmObQjcHXBf7Hfg
3 changed files with 14 additions and 0 deletions

View File

@ -9,6 +9,7 @@
}; };
programs = { programs = {
communications.enable = false; communications.enable = false;
creative.enable = false;
virtualization = false; virtualization = false;
}; };
}; };

View File

@ -0,0 +1,7 @@
{ config, lib, pkgs, ... }:
let np = config.nathan.programs;
in with lib; {
# Install media applications
config =
mkIf np.creative.enable { homebrew.casks = [{ name = "inkscape"; }]; };
}

View File

@ -13,6 +13,7 @@ in {
./fonts.nix ./fonts.nix
./settings.nix ./settings.nix
./media.nix ./media.nix
./creative.nix
]; ];
options = with lib; options = with lib;
@ -41,6 +42,11 @@ in {
enable = mkDefaultOption "Media applications" enable = mkDefaultOption "Media applications"
config.nathan.config.isDesktop; config.nathan.config.isDesktop;
}; };
creative = {
# Enable by default if we are on a linux desktop
enable = mkDefaultOption "Creativity applications"
config.nathan.config.isDesktop;
};
# Virtualization # Virtualization
virtualization = virtualization =
mkDefaultOption "Virtualization" config.nathan.config.isDesktop; mkDefaultOption "Virtualization" config.nathan.config.isDesktop;