add home manager configs

This commit is contained in:
Joakim Repomaa
2025-01-29 13:58:39 +02:00
parent ae4f9c2825
commit 1241c82bd7
44 changed files with 4542 additions and 11 deletions

View File

@@ -0,0 +1 @@
{ util, ... }: util.package

View File

@@ -0,0 +1,14 @@
{ pkgs }:
pkgs.writeShellScriptBin "wl-copy" ''
set -euo pipefail
copy="${pkgs.wl-clipboard}/bin/wl-copy"
paste="${pkgs.wl-clipboard}/bin/wl-paste"
"$copy" "$@"
args="$*"
if [[ "$args" =~ /(^| )(-p|--primary)($| )/ ]]; then
exit
fi
"$paste" -n | "$copy" -p "$@"
''