Compare commits

...

3 Commits

Author SHA1 Message Date
5d30c3ba23
refactor(nix/hm/sam): add more xdg.systemDirs.data dirs
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 1m17s
2024-05-10 02:44:06 -05:00
af0d1b13c1
fix(nix): ensure agenix-plugin-yubikey gets deps 2024-05-10 02:41:46 -05:00
b8ae03b3af
refactor(zsh): remove neovide as $EDITOR 2024-05-10 02:40:24 -05:00
5 changed files with 24 additions and 15 deletions

View File

@ -67,6 +67,8 @@
overlays = [
inputs.agenix.overlays.default
inputs.neovim-nightly-overlay.overlay
self.overlays.modifications
self.overlays.additions
];
}
)
@ -113,8 +115,8 @@
default = pkgs.mkShell {
packages = with pkgs; [
age
agenix
age-plugin-yubikey
pkgs.agenix
nixos-rebuild
nixos-install-tools
pkgs.deploy-rs

View File

@ -13,5 +13,13 @@
opensnitch-ui = prev.opensnitch-ui.overrideAttrs (oldAttrs: {
propagatedBuildInputs = oldAttrs.propagatedBuildInputs ++ [ prev.python311Packages.qt-material ];
});
age-plugin-yubikey = prev.age-plugin-yubikey.overrideAttrs (oldAttrs: {
nativeBuildInputs = oldAttrs.nativeBuildInputs or [ ] ++ [ final.makeWrapper ];
postInstall =
oldAttrs.postInstall or ""
+ ''
wrapProgram $out/bin/age-plugin-yubikey --prefix LD_LIBRARY_PATH : ${final.pcsclite.lib}/lib
'';
});
};
}

View File

@ -112,11 +112,7 @@ fi
local new_editor
local new_visual
local new_manpager
if [[ -n "${XDG_CURRENT_DESKTOP}" ]] && command -v neovide >/dev/null 2>&1; then
new_editor="neovide --no-fork"
new_visual="neovide --no-fork"
new_manpager="${XDG_CONFIG_HOME}/zsh/config/profile/profile/manpager_wrapper_func.bash"
elif command -v nvim >/dev/null 2>&1; then
if command -v nvim >/dev/null 2>&1; then
new_editor=nvim
new_visual=nvim
new_manpager="nvim +Man!"

View File

@ -143,12 +143,6 @@ in
TERMINFO_DIRS = "${config.home.homeDirectory}/.nix-profile/share/terminfo";
WSLENV = "TERMINFO_DIRS";
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" ];
};

View File

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