Move makemkv configuration

This commit is contained in:
Oliver Davies 2025-07-25 21:29:51 +01:00
parent d31dcb54b6
commit ce3270b773
10 changed files with 13 additions and 51 deletions

View file

@ -12,7 +12,6 @@
./gnupg.nix
./gtk.nix
./media/handbrake.nix
./media/makemkv.nix
./media/mpv.nix
./neovim
./node.nix

View file

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

View file

@ -6,7 +6,6 @@
./gitea-actions-runner.nix
./gnupg.nix
./kanata.nix
./media
./nix-index.nix
./nixpad
./pipewire.nix

View file

@ -1,5 +0,0 @@
{
imports = [
./makemkv.nix
];
}

View file

@ -1,16 +0,0 @@
{ config, lib, ... }:
with lib;
let
cfg = config.features.desktop.media.makemkv;
in
{
options.features.desktop.media.makemkv.enable = mkEnableOption "Enable makemkv";
config = mkIf cfg.enable {
boot.kernelModules = [ "sg" ];
users.users.opdavies.extraGroups = [ "cdrom" ];
};
}