- Update flake.nix with 25.11 release and core inputs - Add dedicated modules for audio (Pipewire), bluetooth, and networking - Update GEMINI.md with the new Modular Merging Architecture blueprint - Configure graphical installer ISO and test VM outputs
47 lines
873 B
Nix
47 lines
873 B
Nix
{ config, pkgs, lib, ... }:
|
|
|
|
let
|
|
# Core dependencies needed by most Nomarchy scripts
|
|
nomarchy-deps = with pkgs; [
|
|
gum
|
|
hyprland
|
|
procps
|
|
libnotify
|
|
coreutils
|
|
gnused
|
|
gnugrep
|
|
pciutils
|
|
findutils
|
|
jq
|
|
swww
|
|
xmlstarlet
|
|
wl-clipboard
|
|
grim
|
|
slurp
|
|
brightnessctl
|
|
playerctl
|
|
pamixer
|
|
# Add any others commonly used in bin/
|
|
];
|
|
|
|
nomarchy-scripts = pkgs.stdenv.mkDerivation {
|
|
pname = "nomarchy-scripts";
|
|
version = "1.0.0";
|
|
src = ../../bin;
|
|
|
|
nativeBuildInputs = [ pkgs.makeWrapper ];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
cp -r * $out/bin/
|
|
|
|
# Wrap every script to ensure dependencies are in PATH
|
|
find $out/bin -type f -exec wrapProgram {} \
|
|
--prefix PATH : ${lib.makeBinPath nomarchy-deps} \;
|
|
'';
|
|
};
|
|
in
|
|
{
|
|
home.packages = [ nomarchy-scripts ];
|
|
}
|