Compare commits

...

2 Commits

Author SHA1 Message Date
Nathan McCarty 1d1674978e
Add whalebird on mac 2023-07-21 20:38:04 -04:00
Nathan McCarty 985536556e
Add inkscape on mac 2023-07-21 20:37:56 -04:00
3 changed files with 15 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;
@ -100,6 +106,7 @@ in {
{ name = "signal"; } { name = "signal"; }
{ name = "orangedrangon-android-messages"; } { name = "orangedrangon-android-messages"; }
{ name = "messenger"; } { name = "messenger"; }
{ name = "whalebird"; }
]) ])
# Unconditionally install core utilites # Unconditionally install core utilites
[ [