1 { config, lib, pkgs, ... }:
4 cfg = config.programs.darling;
8 enable = lib.mkEnableOption "Darling, a Darwin/macOS compatibility layer for Linux";
9 package = lib.mkPackageOption pkgs "darling" {};
13 config = lib.mkIf cfg.enable {
14 security.wrappers.darling = {
15 source = lib.getExe cfg.package;