home: cached nix shell for lumi
parent
be31d489c6
commit
c4ba94746b
|
@ -197,6 +197,7 @@ in {
|
||||||
ls = "exa";
|
ls = "exa";
|
||||||
nr = ''nix repl "<nixpkgs>"'';
|
nr = ''nix repl "<nixpkgs>"'';
|
||||||
nsp = "nix-shell -p";
|
nsp = "nix-shell -p";
|
||||||
|
lumi = "pushd ~/engineering/lumi; cached-nix-shell; popd";
|
||||||
};
|
};
|
||||||
interactiveShellInit = ''
|
interactiveShellInit = ''
|
||||||
source ${thefuck-alias "fish"}
|
source ${thefuck-alias "fish"}
|
||||||
|
@ -214,6 +215,10 @@ in {
|
||||||
initExtra = ''
|
initExtra = ''
|
||||||
source ${thefuck-alias "bash"}
|
source ${thefuck-alias "bash"}
|
||||||
eval "$(broot --print-shell-function bash)"
|
eval "$(broot --print-shell-function bash)"
|
||||||
|
if [ "$IN_CACHED_NIX_SHELL" ]; then
|
||||||
|
eval "$shellHook"
|
||||||
|
unset shellHook
|
||||||
|
fi
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -271,6 +276,7 @@ in {
|
||||||
exa
|
exa
|
||||||
cachix
|
cachix
|
||||||
y-firefox
|
y-firefox
|
||||||
|
cached-nix-shell
|
||||||
]); # qtwayland
|
]); # qtwayland
|
||||||
# systemd.user.services.gmi = {
|
# systemd.user.services.gmi = {
|
||||||
# Unit = {
|
# Unit = {
|
||||||
|
|
Loading…
Reference in New Issue