nixos/modules/desktop/media/resolve/default.nix
2024-08-01 16:24:09 +04:00

20 lines
389 B
Nix

{ outputs, options, config, lib, pkgs, ...}:
let
cfg = config.modules.desktop.media.resolve;
in
{
options.modules.desktop.media.resolve = {
enable = lib.mkEnableOption false;
};
config = lib.mkIf cfg.enable {
users.users.sako.packages = with pkgs; [
sako.davinci-resolve
];
nixpkgs.config.permittedInsecurePackages = [
"python-2.7.18.6"
];
};
}