Move handbrake configuration
All checks were successful
/ check (push) Successful in 1m43s

This commit is contained in:
Oliver Davies 2025-07-27 23:50:26 +01:00
parent 4271993f2f
commit aac84ce5b5
5 changed files with 7 additions and 30 deletions

View file

@ -3,9 +3,5 @@
features = {
cli.zsh.enable = true;
desktop.media = {
handbrake.enable = true;
};
};
}

View file

@ -16,10 +16,6 @@
desktop = {
gtk.enable = true;
media = {
handbrake.enable = true;
};
};
};

View file

@ -3,7 +3,6 @@
./bookmarkthis.nix
./dev-commit.nix
./gtk.nix
./media/handbrake.nix
./node.nix
./starship.nix
./zsh

View file

@ -1,21 +0,0 @@
{
config,
lib,
pkgs,
...
}:
with lib;
let
cfg = config.features.desktop.media.handbrake;
in
{
options.features.desktop.media.handbrake.enable = mkEnableOption "Enable handbrake";
config = mkIf cfg.enable {
home.packages = with pkgs; [
handbrake
];
};
}

7
modules2/handbrake.nix Normal file
View file

@ -0,0 +1,7 @@
{
flake.modules.homeManager.gui =
{ pkgs, ... }:
{
home.packages = [ pkgs.handbrake ];
};
}