Add inkscape on mac
This commit is contained in:
parent
0e7f6d0383
commit
985536556e
|
@ -9,6 +9,7 @@
|
|||
};
|
||||
programs = {
|
||||
communications.enable = false;
|
||||
creative.enable = false;
|
||||
virtualization = false;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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"; }]; };
|
||||
}
|
|
@ -13,6 +13,7 @@ in {
|
|||
./fonts.nix
|
||||
./settings.nix
|
||||
./media.nix
|
||||
./creative.nix
|
||||
];
|
||||
|
||||
options = with lib;
|
||||
|
@ -41,6 +42,11 @@ in {
|
|||
enable = mkDefaultOption "Media applications"
|
||||
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 =
|
||||
mkDefaultOption "Virtualization" config.nathan.config.isDesktop;
|
||||
|
|
Loading…
Reference in New Issue