refactor(nix/hm/sam): add more xdg.systemDirs.data dirs
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 1m17s

This commit is contained in:
Price Hiller 2024-05-10 02:44:06 -05:00
parent af0d1b13c1
commit 5d30c3ba23
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB
2 changed files with 11 additions and 8 deletions

View File

@ -143,12 +143,6 @@ in
TERMINFO_DIRS = "${config.home.homeDirectory}/.nix-profile/share/terminfo"; TERMINFO_DIRS = "${config.home.homeDirectory}/.nix-profile/share/terminfo";
WSLENV = "TERMINFO_DIRS"; WSLENV = "TERMINFO_DIRS";
GTK_PATH = "${pkgs.gtk-engine-murrine}/lib/gtk-2.0"; GTK_PATH = "${pkgs.gtk-engine-murrine}/lib/gtk-2.0";
# PKG_CONFIG_PATH = "${pkgs.openssl.dev}/lib/pkgconfig:${pkgs.sqlite.dev}/lib/pkgconfig";
# LD_LIBRARY_PATH = with pkgs; lib.makeLibraryPath [
# openssl
# curl
# sqlite
# ];
}; };
sessionPath = [ "${config.xdg.dataHome}/bin" ]; sessionPath = [ "${config.xdg.dataHome}/bin" ];
}; };

View File

@ -1,4 +1,9 @@
{ pkgs, lib, ... }: {
pkgs,
lib,
config,
...
}:
let let
nixGLWrap = nixGLWrap =
pkg: pkg:
@ -16,7 +21,11 @@ let
in in
{ {
imports = [ ../price/home.nix ]; imports = [ ../price/home.nix ];
xdg.systemDirs.data = [ "/usr/share" ]; xdg.systemDirs.data = [
"${config.home.homeDirectory}/.nix-profile/share"
"/usr/share"
"/usr/local/share"
];
home = { home = {
packages = with pkgs; [ packages = with pkgs; [
(lib.hiPrio (nixGLWrap neovide)) (lib.hiPrio (nixGLWrap neovide))