From 3c7335e215f6a50b81555ce3f7427f37aabd867d Mon Sep 17 00:00:00 2001 From: agryphus Date: Tue, 5 Mar 2024 00:00:53 -0500 Subject: [PATCH] Add gnu stow to nix core --- nixos/.config/nixos/core.nix | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/nixos/.config/nixos/core.nix b/nixos/.config/nixos/core.nix index b095206..307506a 100644 --- a/nixos/.config/nixos/core.nix +++ b/nixos/.config/nixos/core.nix @@ -1,6 +1,8 @@ { config, pkgs, ... }: -{ +let + nixos-unstable = (import {}); +in { # Nix settings nix = { package = pkgs.nixFlakes; @@ -78,7 +80,13 @@ enable = true; enableSSHSupport = true; }; - nix-ld.enable = true; # Run unpatched binaries + nix-ld = { + # Run unpatched binaries. + enable = true; + libraries = with pkgs; [ + # Add missing dynamic libraries for unpackages programs here + ]; + }; zsh.enable = true; }; @@ -128,9 +136,11 @@ pinentry-curses # Terminal-based pinentry program python311 # Python socat # Interact with sockets + stow # Simlink farm (used for dotfile management) tldr # Brief info about a command tmux # Terminal multiplexor udisks # Good way of dealing with USBs and similar media + yazi # Terminal file manager # Shell starship # Universal shell prompt @@ -206,6 +216,7 @@ hash = "sha256-0Y0bcsa6GfP/A+gZe6o94WNWfQNHVEtMZfMuvWVBu0c="; }; }); + yazi = nixos-unstable.yazi; }) ];