diff --git a/modules/system/nix-ld/default.nix b/modules/system/nix-ld/default.nix new file mode 100644 index 0000000..ee7b70f --- /dev/null +++ b/modules/system/nix-ld/default.nix @@ -0,0 +1,15 @@ +{moduleWithSystem, ...}: { + flake.nixosModules.nix-ld = moduleWithSystem ({pkgs, ...}: { + programs = { + nix-ld = { + enable = true; + libraries = with pkgs; [ + util-linux + stdenv.cc.cc + zlib + libusb1 + ]; + }; + }; + }); +}