nixos/modules/desktop/media/resolve/default.nix

20 lines
389 B
Nix
Raw Normal View History

2023-07-09 21:52:40 +04:00
{ outputs, options, config, lib, pkgs, ...}:
let
cfg = config.modules.desktop.media.resolve;
in
{
options.modules.desktop.media.resolve = {
2024-08-01 16:24:09 +04:00
enable = lib.mkEnableOption false;
2023-07-09 21:52:40 +04:00
};
2024-08-01 16:24:09 +04:00
config = lib.mkIf cfg.enable {
2023-07-09 21:52:40 +04:00
users.users.sako.packages = with pkgs; [
2023-07-15 22:39:22 +04:00
sako.davinci-resolve
2023-07-09 21:52:40 +04:00
];
nixpkgs.config.permittedInsecurePackages = [
"python-2.7.18.6"
];
2023-07-09 21:52:40 +04:00
};
}