2023-07-09 21:52:40 +04:00
|
|
|
{ outputs, options, config, lib, pkgs, ...}:
|
|
|
|
with lib;
|
2023-07-09 22:07:45 +04:00
|
|
|
# lmao this is broken
|
2023-07-09 21:52:40 +04:00
|
|
|
let
|
|
|
|
cfg = config.modules.desktop.media.resolve;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
options.modules.desktop.media.resolve = {
|
|
|
|
enable = mkEnableOption false;
|
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
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
|
|
|
];
|
2023-07-09 21:55:55 +04:00
|
|
|
|
|
|
|
nixpkgs.config.permittedInsecurePackages = [
|
|
|
|
"python-2.7.18.6"
|
|
|
|
];
|
2023-07-09 21:52:40 +04:00
|
|
|
};
|
|
|
|
}
|