From cfebabe42ebd8c39fe117c54f88eedaae35c7c6a Mon Sep 17 00:00:00 2001 From: minco Date: Wed, 20 Aug 2025 12:39:59 +0900 Subject: [PATCH] feat: rtl, ld --- configuration.nix | 5 ++++- flake.nix | 2 +- modules/ld.nix | 1 + pkgs/tools.nix | 3 +++ 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/configuration.nix b/configuration.nix index e952085..4290408 100644 --- a/configuration.nix +++ b/configuration.nix @@ -92,18 +92,21 @@ in libGL openal myRizin + libgit2 inputs.helix.packages."${pkgs.system}".helix ]; nix.settings.experimental-features = [ "nix-command" "flakes" ]; - environment.sessionVariables = { + environment.variables = { LD_LIBRARY_PATH = lib.makeLibraryPath [ pkgs.libglvnd pkgs.libGL pkgs.glfw pkgs.pulseaudio + pkgs.libgit2 ]; + HELLO = "WORLD"; }; environment.variables.EDITOR = "vim"; diff --git a/flake.nix b/flake.nix index 51146d1..efb45cf 100644 --- a/flake.nix +++ b/flake.nix @@ -11,7 +11,7 @@ }; outputs = { self, nixpkgs, home-manager, ... }@inputs: { - nixosConfigurations.monad = nixpkgs.lib.nixosSystem { + nixosConfigurations.haskell = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; specialArgs = { inherit inputs; }; modules = [ diff --git a/modules/ld.nix b/modules/ld.nix index 747e013..626ccdc 100644 --- a/modules/ld.nix +++ b/modules/ld.nix @@ -5,6 +5,7 @@ with pkgs; [ at-spi2-atk at-spi2-core libz + libgit2 atk cairo cups diff --git a/pkgs/tools.nix b/pkgs/tools.nix index 4a7f9ee..72f318c 100644 --- a/pkgs/tools.nix +++ b/pkgs/tools.nix @@ -5,6 +5,9 @@ with pkgs; [ libreoffice waybar + sdrpp + gqrx + rtl-sdr hyprsome nwg-look wl-clipboard