mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-04-16 06:19:11 +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 = {
|
setups = {
|
||||||
business.enable = true;
|
business.enable = true;
|
||||||
desktop.enable = true;
|
desktop.enable = true;
|
||||||
development.enable = true;
|
development = {
|
||||||
|
enable = true;
|
||||||
|
creative-coding.enable = true;
|
||||||
|
};
|
||||||
fonts.enable = true;
|
fonts.enable = true;
|
||||||
music.enable = true;
|
music.enable = true;
|
||||||
music.mpd.enable = true;
|
music.mpd.enable = true;
|
||||||
|
@ -4,8 +4,13 @@ let
|
|||||||
userCfg = config.users.foo-dogsquared;
|
userCfg = config.users.foo-dogsquared;
|
||||||
cfg = userCfg.setups.development;
|
cfg = userCfg.setups.development;
|
||||||
in {
|
in {
|
||||||
options.users.foo-dogsquared.setups.development.enable =
|
options.users.foo-dogsquared.setups.development = {
|
||||||
lib.mkEnableOption "foo-dogsquared's software development setup";
|
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 [
|
config = lib.mkIf cfg.enable (lib.mkMerge [
|
||||||
{
|
{
|
||||||
@ -75,6 +80,7 @@ in {
|
|||||||
httpie-desktop
|
httpie-desktop
|
||||||
hurl
|
hurl
|
||||||
grpcurl
|
grpcurl
|
||||||
|
steampipe
|
||||||
|
|
||||||
# Testing out Kubernetes.
|
# Testing out Kubernetes.
|
||||||
kind
|
kind
|
||||||
@ -133,5 +139,13 @@ in {
|
|||||||
d-spy # Some GNOME dev probably developed this.
|
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