Skip to content

Commit

Permalink
fix(system/environment): fix broken ld_library_path var (#360)
Browse files Browse the repository at this point in the history
* patch(system/audio): disable pipewire.jack

* feat(system/environment): add ld_library_path

* patch(system/environment): update default app vars
  • Loading branch information
piyoki authored Oct 13, 2024
1 parent 566e360 commit 8892c77
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion system/environment/development.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ pkgs, ... }:
{ pkgs, lib, ... }:

{
# Environment vars
Expand All @@ -7,6 +7,7 @@
variables = {
# OPENSSL specific
PKG_CONFIG_PATH = "${pkgs.openssl.dev}/lib/pkgconfig";
LD_LIBRARY_PATH = lib.makeLibraryPath [ pkgs.openssl ];
};
};
}
4 changes: 2 additions & 2 deletions system/environment/system.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ _:
# system-level variables
variables = {
# set vim as the default editor
EDITOR = "vim";
EDITOR = "nvim";
};

# session-specfic variables
Expand All @@ -16,7 +16,7 @@ _:
# Wayland specific
NIXOS_OZONE_WL = "1";
# Default applications
BROWSER = "qutebrowser";
BROWSER = "firefox";
# Force intel-media-driver
LIBVA_DRIVER_NAME = "iHD";
};
Expand Down
2 changes: 1 addition & 1 deletion system/hardware/audio.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
support32Bit = true;
};
pulse.enable = true;
jack.enable = true;
jack.enable = false;
wireplumber = {
enable = true;
package = pkgs.wireplumber;
Expand Down

0 comments on commit 8892c77

Please sign in to comment.