20 lines
305 B
Nix
20 lines
305 B
Nix
|
{ pkgs, config, lib, ... }:
|
||
|
|
||
|
let
|
||
|
cfg = config.my.bin-compat;
|
||
|
in {
|
||
|
options.my.bin-compat = {
|
||
|
enable = lib.mkEnableOption null;
|
||
|
};
|
||
|
|
||
|
config = lib.mkIf cfg.enable {
|
||
|
environment.systemPackages = with pkgs; [
|
||
|
appimage-run
|
||
|
];
|
||
|
|
||
|
programs = {
|
||
|
nix-ld.enable = true;
|
||
|
};
|
||
|
};
|
||
|
}
|