Move makemkv configuration
This commit is contained in:
parent
d31dcb54b6
commit
ce3270b773
10 changed files with 13 additions and 51 deletions
|
@ -6,7 +6,6 @@
|
|||
./gitea-actions-runner.nix
|
||||
./gnupg.nix
|
||||
./kanata.nix
|
||||
./media
|
||||
./nix-index.nix
|
||||
./nixpad
|
||||
./pipewire.nix
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
imports = [
|
||||
./makemkv.nix
|
||||
];
|
||||
}
|
|
@ -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" ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue