fix[work]: fix aws,cdr commands, easier git switch in emacs
Some checks failed
Flake check / Check flake (push) Has been cancelled

This commit is contained in:
Leon Schwarzäugl 2025-11-19 15:22:48 +01:00 committed by Leon Schwarzäugl
parent 46f2ec8b96
commit ec6ae25e9b
52 changed files with 4610 additions and 1364 deletions

View file

@ -7,6 +7,7 @@
pass-fuzzel
cdw
cdb
cdr
bak
timer
e
@ -31,8 +32,6 @@
sshrm
endme
git-replace
rustdesk-vbc
];
};
}

View file

@ -47,9 +47,20 @@ in
};
};
# nixpkgs.overlays = lib.mkIf isNixos (lib.mkForce null);
nixpkgs = lib.mkIf (!isNixos) {
overlays = [ outputs.overlays.default ];
overlays = [
outputs.overlays.default
(final: prev:
let
additions = final: _: import "${self}/pkgs/config" {
inherit self config lib;
pkgs = final;
homeConfig = config;
};
in
additions final prev
)
];
config = {
allowUnfree = true;
};

View file

@ -620,6 +620,19 @@
_children = [{ Resize._args = [ "Increase" ]; }];
};
}
{
bind = {
_args = [ "Alt r" ];
_children = [
{
WriteChars._args = [ "source cdr" ];
}
{
WriteChars._args = [ "\n" ];
}
];
};
}
{
bind = {
_args = [ "Alt f" ];

View file

@ -35,7 +35,8 @@ in
hotspot = "nmcli connection up local; nmcli device wifi hotspot;";
youtube-dl = "yt-dlp";
cat-orig = "cat";
cdr = "cd \"$( (find $DOCUMENT_DIR_WORK $DOCUMENT_DIR_PRIV -maxdepth 1 && echo $FLAKE) | fzf )\"";
# cdr = "cd \"$( (find $DOCUMENT_DIR_WORK $DOCUMENT_DIR_PRIV -maxdepth 1 && echo $FLAKE) | fzf )\"";
cdr = "source cdr";
nix-ldd-ldd = "LD_LIBRARY_PATH=$NIX_LD_LIBRARY_PATH ldd";
nix-ldd = "LD_LIBRARY_PATH=$NIX_LD_LIBRARY_PATH ldd";
nix-ldd-locate = "nix-locate --minimal --top-level -w ";