ljkasdljkadsjkl

This commit is contained in:
2025-11-07 14:49:13 +01:00
parent d0eff972df
commit d688b7d253
7 changed files with 56 additions and 19 deletions

View File

@@ -1,16 +1,16 @@
{ pkgs, ... }:
let
# why not just use functions normally? ctrl-alt-e is why!
_tmpfn_name = "_tmpfn_ex4aiNgu"; # pwgen ftw
mkArgsAlias = alias: ''${_tmpfn_name}() { unset -f ${_tmpfn_name}; ${alias}; }; ${_tmpfn_name}'';
_tmpfn_name_ = "_tmpfn_ex4aiNgu_"; # pwgen ftw
mkArgsAlias = alias: ''${_tmpfn_name_}() { unset -f ${_tmpfn_name_}; ${alias}; }; ${_tmpfn_name_}'';
in
{
home.packages = with pkgs; [
/* flox */
/* devenv */
/* cachix */
/* nix-template */
# flox
# devenv
# cachix
# nix-template
nix-output-monitor
nix-du
nix-tree
@@ -23,11 +23,11 @@ in
unstable.nix-init
unstable.deadnix
unstable.statix
/* unstable.nixtract */
# unstable.nixtract
unstable.nixfmt-rfc-style
nurl
# manix
#comma # collides with nix-index-database
# comma # collides with nix-index-database
# devenv
nix-fast-build
nix-eval-jobs

View File

@@ -3,8 +3,8 @@
let
# why not just use functions normally? ctrl-alt-e is why!
_tmpfn_name = "_tmpfn_ex4aiNgu"; # pwgen ftw
mkArgsAlias = alias: ''${_tmpfn_name}() { unset -f ${_tmpfn_name}; ${alias}; }; ${_tmpfn_name}'';
_tmpfn_name_ = "_tmpfn_ex4aiNgu_"; # pwgen ftw
mkArgsAlias = alias: ''${_tmpfn_name_}() { unset -f ${_tmpfn_name_}; ${alias}; }; ${_tmpfn_name_}'';
in
@@ -136,7 +136,11 @@ in
home.shellAliases.killall = "killall -v";
# bin = "python -c 'import sys; sys.stdout.write(sys.stdin.read().strip())' | curl -is -X POST https://i.kuklef.se/upload -F content=@- -F expiration=10d | grep '^location:' | cut -d' ' -f2-";
home.shellAliases.bin = "${lib.getExe pkgs.netcat} termbin.com 9999";
home.shellAliases.termbin = "${lib.getExe pkgs.netcat} termbin.com 9999";
# https://github.com/nwtgck/piping-server
home.shellAliases.httppipe-in = mkArgsAlias ''set -x; curl -T - https://ppng.io/"''${1:-ijoh1aeJiXail9gahlah}"''; # pwgen ftw
home.shellAliases.httppipe-out = mkArgsAlias ''set -x; curl https://ppng.io/"''${1:-ijoh1aeJiXail9gahlah}"''; # pwgen ftw
# old alias, just learn to use ncdu lol
home.shellAliases.dush = "du -shc * | sort -h";