diff --git a/modules/home/gui/apps/default.nix b/modules/home/gui/apps/default.nix index 833f452..2b2acd4 100644 --- a/modules/home/gui/apps/default.nix +++ b/modules/home/gui/apps/default.nix @@ -1,3 +1,3 @@ { ... }: { - imports = [ ./firefox ./images ./mpv ./pipewire ./vosk ./vscodium ./zathura ]; + imports = [ ./develop ./firefox ./images ./mpv ./pipewire ./vosk ./zathura ]; } diff --git a/modules/home/gui/apps/develop/default.nix b/modules/home/gui/apps/develop/default.nix new file mode 100644 index 0000000..c51082b --- /dev/null +++ b/modules/home/gui/apps/develop/default.nix @@ -0,0 +1,12 @@ +{ lib, config, pkgs, ... }: { + + imports = [ ./vscodium ]; + + config = lib.mkIf (config.homecfg.make.develop) { + + home.packages = with pkgs; [ + blender + godot_4 + ]; + }; +} diff --git a/modules/home/gui/apps/vscodium/default.nix b/modules/home/gui/apps/develop/vscodium/default.nix similarity index 86% rename from modules/home/gui/apps/vscodium/default.nix rename to modules/home/gui/apps/develop/vscodium/default.nix index 7cc0bcc..4db7759 100644 --- a/modules/home/gui/apps/vscodium/default.nix +++ b/modules/home/gui/apps/develop/vscodium/default.nix @@ -1,6 +1,6 @@ { lib, config, pkgs, ... }: { - config = lib.mkIf (config.homecfg.make.gui) { + config = lib.mkIf (config.homecfg.make.develop) { programs.vscode = { enable = true; package = pkgs.vscodium; diff --git a/modules/home/homecfg/default.nix b/modules/home/homecfg/default.nix index 0ac6137..bec358e 100644 --- a/modules/home/homecfg/default.nix +++ b/modules/home/homecfg/default.nix @@ -15,6 +15,10 @@ with lib; { type = types.bool; default = false; }; + develop = mkOption { + type = types.bool; + default = false; + }; game = mkOption { type = types.bool; default = false; diff --git a/systems/valinor/home.nix b/systems/valinor/home.nix index 95b0182..de840e3 100644 --- a/systems/valinor/home.nix +++ b/systems/valinor/home.nix @@ -6,6 +6,8 @@ gui = true; cli = true; game = true; + develop = true; + power = true; }; git = { email = "soraefir+git@pm.me";