diff --git a/hosts/sakotop/configuration.nix b/hosts/sakotop/configuration.nix index fc065973..f037c87f 100644 --- a/hosts/sakotop/configuration.nix +++ b/hosts/sakotop/configuration.nix @@ -37,6 +37,8 @@ gimp.enable = true; # this is broken #resolve.enable = true; + blender.enable = true; + kdenlive.enable = true; }; }; hardware = { diff --git a/modules/desktop/media/blender/default.nix b/modules/desktop/media/blender/default.nix new file mode 100644 index 00000000..bc6b6773 --- /dev/null +++ b/modules/desktop/media/blender/default.nix @@ -0,0 +1,16 @@ +{ outputs, options, config, lib, pkgs, ...}: +with lib; +let + cfg = config.modules.desktop.media.blender; +in +{ + options.modules.desktop.media.blender = { + enable = mkEnableOption false; + }; + + config = mkIf cfg.enable { + users.users.sako.packages = with pkgs; [ + blender + ]; + }; +} diff --git a/modules/desktop/media/default.nix b/modules/desktop/media/default.nix index 8fe4f24e..ac92d151 100644 --- a/modules/desktop/media/default.nix +++ b/modules/desktop/media/default.nix @@ -2,5 +2,7 @@ imports = [ ./resolve ./gimp + ./blender + ./kdenlive ]; } diff --git a/modules/desktop/media/kdenlive/default.nix b/modules/desktop/media/kdenlive/default.nix new file mode 100644 index 00000000..15dd7e9b --- /dev/null +++ b/modules/desktop/media/kdenlive/default.nix @@ -0,0 +1,16 @@ +{ outputs, options, config, lib, pkgs, ...}: +with lib; +let + cfg = config.modules.desktop.media.kdenlive; +in +{ + options.modules.desktop.media.kdenlive = { + enable = mkEnableOption false; + }; + + config = mkIf cfg.enable { + users.users.sako.packages = with pkgs; [ + kdenlive + ]; + }; +}