diff --git a/hosts/sakotop/configuration.nix b/hosts/sakotop/configuration.nix index f51fefff..1a6c436d 100644 --- a/hosts/sakotop/configuration.nix +++ b/hosts/sakotop/configuration.nix @@ -33,6 +33,10 @@ lutris.enable = true; steam.enable = true; }; + media = { + gimp.enable = true; + resolve.enable = true; + }; }; hardware = { nvidia.enable = true; diff --git a/modules/desktop/default.nix b/modules/desktop/default.nix index df47ceab..6105ae8c 100644 --- a/modules/desktop/default.nix +++ b/modules/desktop/default.nix @@ -6,5 +6,6 @@ ./apps ./game ./chat + ./media ]; } diff --git a/modules/desktop/media/default.nix b/modules/desktop/media/default.nix new file mode 100644 index 00000000..8fe4f24e --- /dev/null +++ b/modules/desktop/media/default.nix @@ -0,0 +1,6 @@ +{ + imports = [ + ./resolve + ./gimp + ]; +} diff --git a/modules/desktop/media/gimp/default.nix b/modules/desktop/media/gimp/default.nix new file mode 100644 index 00000000..46e9b757 --- /dev/null +++ b/modules/desktop/media/gimp/default.nix @@ -0,0 +1,16 @@ +{ outputs, options, config, lib, pkgs, ...}: +with lib; +let + cfg = config.modules.desktop.media.gimp; +in +{ + options.modules.desktop.media.gimp = { + enable = mkEnableOption false; + }; + + config = mkIf cfg.enable { + users.users.sako.packages = with pkgs; [ + gimp + ]; + }; +} diff --git a/modules/desktop/media/resolve/default.nix b/modules/desktop/media/resolve/default.nix new file mode 100644 index 00000000..1660480c --- /dev/null +++ b/modules/desktop/media/resolve/default.nix @@ -0,0 +1,16 @@ +{ outputs, options, config, lib, pkgs, ...}: +with lib; +let + cfg = config.modules.desktop.media.resolve; +in +{ + options.modules.desktop.media.resolve = { + enable = mkEnableOption false; + }; + + config = mkIf cfg.enable { + users.users.sako.packages = with pkgs; [ + davinci-resolve + ]; + }; +}