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

22 lines
413 B
Nix
Raw Normal View History

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
];
nixpkgs.config.permittedInsecurePackages = [
"python-2.7.18.6"
];
2023-07-09 21:52:40 +04:00
};
}