8294293990
Note: not the actual initial commit. I swear I will stop repeatedly force pushing to this single commit eventually ok.
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;
|
|
};
|
|
};
|
|
}
|