mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-30 22:57:55 +00:00
users/foo-dogsquared/setups/development: init creative coding submodule
This commit is contained in:
parent
e1007920d2
commit
6532ee4ca9
@ -73,7 +73,10 @@ in
|
||||
setups = {
|
||||
business.enable = true;
|
||||
desktop.enable = true;
|
||||
development.enable = true;
|
||||
development = {
|
||||
enable = true;
|
||||
creative-coding.enable = true;
|
||||
};
|
||||
fonts.enable = true;
|
||||
music.enable = true;
|
||||
music.mpd.enable = true;
|
||||
|
@ -4,8 +4,13 @@ let
|
||||
userCfg = config.users.foo-dogsquared;
|
||||
cfg = userCfg.setups.development;
|
||||
in {
|
||||
options.users.foo-dogsquared.setups.development.enable =
|
||||
lib.mkEnableOption "foo-dogsquared's software development setup";
|
||||
options.users.foo-dogsquared.setups.development = {
|
||||
enable =
|
||||
lib.mkEnableOption "foo-dogsquared's software development setup";
|
||||
|
||||
creative-coding.enable =
|
||||
lib.mkEnableOption "foo-dogsquared's creative coding setup";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable (lib.mkMerge [
|
||||
{
|
||||
@ -75,6 +80,7 @@ in {
|
||||
httpie-desktop
|
||||
hurl
|
||||
grpcurl
|
||||
steampipe
|
||||
|
||||
# Testing out Kubernetes.
|
||||
kind
|
||||
@ -133,5 +139,13 @@ in {
|
||||
d-spy # Some GNOME dev probably developed this.
|
||||
];
|
||||
})
|
||||
|
||||
(lib.mkIf cfg.creative-coding.enable {
|
||||
home.packages = with pkgs; [
|
||||
supercollider-with-plugins
|
||||
processing
|
||||
(puredata-with-plugins (with pkgs; [ zexy cyclone ]))
|
||||
];
|
||||
})
|
||||
]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user