nix-config/modules2/makemkv.nix
Oliver Davies 99484c6194
All checks were successful
/ check (push) Successful in 1m53s
refactor: explicitly allow unfree packages
2025-07-29 01:14:01 +01:00

15 lines
310 B
Nix

{ config, ... }:
{
nixpkgs.allowedUnfreePackages = [ "makemkv" ];
flake.modules.nixos.pc =
{ pkgs, ... }:
{
boot.kernelModules = [ "sg" ];
environment.systemPackages = with pkgs; [ makemkv ];
users.users.${config.flake.meta.owner.username}.extraGroups = [ "cdrom" ];
};
}