diff --git a/nix/home/opdavies/default.nix b/nix/home/opdavies/default.nix index 5aa18c3..678f3e0 100644 --- a/nix/home/opdavies/default.nix +++ b/nix/home/opdavies/default.nix @@ -61,7 +61,6 @@ in [ build-glove80 gscan2pdf - handbrake meslo-lg notify-battery obs-studio diff --git a/nix/home/opdavies/hosts/lemp11.nix b/nix/home/opdavies/hosts/lemp11.nix index 93870f6..7b25100 100644 --- a/nix/home/opdavies/hosts/lemp11.nix +++ b/nix/home/opdavies/hosts/lemp11.nix @@ -17,6 +17,7 @@ media = { gimp.enable = true; + handbrake.enable = true; kdenlive.enable = true; pocket-casts.enable = true; mpv.enable = true; diff --git a/nix/modules/home-manager/features/desktop/media/default.nix b/nix/modules/home-manager/features/desktop/media/default.nix index 0bd4055..80f8f99 100644 --- a/nix/modules/home-manager/features/desktop/media/default.nix +++ b/nix/modules/home-manager/features/desktop/media/default.nix @@ -1,6 +1,7 @@ { imports = [ ./gimp.nix + ./handbrake.nix ./kdenlive.nix ./mpv.nix ./pocket-casts.nix diff --git a/nix/modules/home-manager/features/desktop/media/handbrake.nix b/nix/modules/home-manager/features/desktop/media/handbrake.nix new file mode 100644 index 0000000..412b9fa --- /dev/null +++ b/nix/modules/home-manager/features/desktop/media/handbrake.nix @@ -0,0 +1,14 @@ +{ + config, + lib, + pkgs, + ... +}: + +{ + options.features.desktop.media.handbrake.enable = lib.mkEnableOption "Enable handbrake"; + + config = lib.mkIf config.features.desktop.media.handbrake.enable { + home.packages = with pkgs; [ handbrake ]; + }; +}