diff options
Diffstat (limited to 'modules/nixos/common.nix')
| -rw-r--r-- | modules/nixos/common.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/nixos/common.nix b/modules/nixos/common.nix index 919e2f0..7a79d93 100644 --- a/modules/nixos/common.nix +++ b/modules/nixos/common.nix | |||
| @@ -87,4 +87,19 @@ | |||
| 87 | # tom's docker group membership is root-equivalent access, accepted here | 87 | # tom's docker group membership is root-equivalent access, accepted here |
| 88 | # for reliability over the rootless isolation guarantee. | 88 | # for reliability over the rootless isolation guarantee. |
| 89 | virtualisation.docker.enable = true; | 89 | virtualisation.docker.enable = true; |
| 90 | |||
| 91 | # Lets prebuilt, foreign dynamically-linked binaries run on NixOS - needed | ||
| 92 | # for uv-managed prebuilt Python interpreters and native wheel extensions, | ||
| 93 | # which expect a standard (non-NixOS) dynamic loader path. The libraries | ||
| 94 | # below extend nix-ld's own baseline (zlib, openssl, bzip2, etc.) with | ||
| 95 | # common CPython build dependencies it doesn't already include. | ||
| 96 | programs.nix-ld.enable = true; | ||
| 97 | programs.nix-ld.libraries = with pkgs; [ | ||
| 98 | ncurses | ||
| 99 | libffi | ||
| 100 | sqlite | ||
| 101 | readline | ||
| 102 | gdbm | ||
| 103 | expat | ||
| 104 | ]; | ||
| 90 | } | 105 | } |
