Add inkscape on mac
This commit is contained in:
parent
0e7f6d0383
commit
985536556e
|
@ -9,6 +9,7 @@
|
||||||
};
|
};
|
||||||
programs = {
|
programs = {
|
||||||
communications.enable = false;
|
communications.enable = false;
|
||||||
|
creative.enable = false;
|
||||||
virtualization = 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
|
./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;
|
||||||
|
|
Loading…
Reference in New Issue