Compare commits
2 Commits
0e7f6d0383
...
1d1674978e
Author | SHA1 | Date |
---|---|---|
Nathan McCarty | 1d1674978e | |
Nathan McCarty | 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;
|
||||
|
@ -100,6 +106,7 @@ in {
|
|||
{ name = "signal"; }
|
||||
{ name = "orangedrangon-android-messages"; }
|
||||
{ name = "messenger"; }
|
||||
{ name = "whalebird"; }
|
||||
])
|
||||
# Unconditionally install core utilites
|
||||
[
|
||||
|
|
Loading…
Reference in New Issue