From 014de5c5fe4226ea3a13c3705d8c3c8005f25002 Mon Sep 17 00:00:00 2001 From: js0ny Date: Fri, 5 Dec 2025 17:43:05 +0000 Subject: [PATCH] nix-ld --- nixcfgs/hosts/zephyrus/default.nix | 1 + nixcfgs/modules/nixos/core/nix-ld.nix | 8 ++++++++ nixcfgs/modules/nixos/desktop/de/gnome.nix | 2 +- nixcfgs/users/js0ny/packages/cli.nix | 1 + 4 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 nixcfgs/modules/nixos/core/nix-ld.nix diff --git a/nixcfgs/hosts/zephyrus/default.nix b/nixcfgs/hosts/zephyrus/default.nix index 8afd78f..de9ce2b 100644 --- a/nixcfgs/hosts/zephyrus/default.nix +++ b/nixcfgs/hosts/zephyrus/default.nix @@ -8,6 +8,7 @@ # core config and packages ../../modules/nixos + ../../modules/nixos/core/nix-ld.nix # this is a laptop ../../modules/nixos/desktop diff --git a/nixcfgs/modules/nixos/core/nix-ld.nix b/nixcfgs/modules/nixos/core/nix-ld.nix new file mode 100644 index 0000000..9498d98 --- /dev/null +++ b/nixcfgs/modules/nixos/core/nix-ld.nix @@ -0,0 +1,8 @@ +{pkgs, ...}: { + programs.nix-ld = { + enable = true; + libraries = with pkgs; [ + stdenv.cc.cc + ]; + }; +} diff --git a/nixcfgs/modules/nixos/desktop/de/gnome.nix b/nixcfgs/modules/nixos/desktop/de/gnome.nix index e898041..1b576ce 100644 --- a/nixcfgs/modules/nixos/desktop/de/gnome.nix +++ b/nixcfgs/modules/nixos/desktop/de/gnome.nix @@ -11,7 +11,7 @@ evince # Document Viewer (Legacy) totem # GNOME Videos (legacy) papers # Document Viewer - tour + gnome-tour baobab # Disk Usage Analyzer, use dust instead epiphany # GNOME Web ]; diff --git a/nixcfgs/users/js0ny/packages/cli.nix b/nixcfgs/users/js0ny/packages/cli.nix index 7d72945..48e3dd8 100644 --- a/nixcfgs/users/js0ny/packages/cli.nix +++ b/nixcfgs/users/js0ny/packages/cli.nix @@ -68,6 +68,7 @@ trash-cli aria2 gocryptfs + uv ] ++ ( if pkgs.stdenv.isDarwin