{pkgs, ...}: let binPATH = ".local/bin"; in { home.packages = with pkgs; [ pamixer brightnessctl grim slurp swappy jq #mpvpaper #swww libnotify dunst ]; home.sessionPath = ["$HOME/${binPATH}"]; home.file = builtins.mapAttrs (_name: value: value // {executable = true;}) { ${binPATH} = { source = ./bin; recursive = true; }; "${binPATH}/lofi".source = pkgs.fetchurl { url = "https://raw.githubusercontent.com/lime-desu/bin/69422c37582c5914863997c75c268791a0de136e/lofi"; hash = "sha256-hT+S/rqOHUYnnFcSDFfQht4l1DGasz1L3wDHKUWLraA="; }; "${binPATH}/screenshot".source = pkgs.substitute { src = pkgs.fetchurl { url = "https://raw.githubusercontent.com/nwg-piotr/nwg-shell/c29e8eb4658a2613fb221ead0b101c75f457bcaf/scripts/screenshot"; hash = "sha256-Z/fWloz8pLHsvPTPOeBxnbMsGDRTY3G3l/uePQ3ZxjU="; }; replacements = ["--replace" "DIR=\${SCREENSHOT_DIR:=$HOME/Screenshots}" "DIR=$HOME/Pictures/Screenshots"]; # i dont like using an environment variable }; }; }