nh + gc - nixos-reload + fixes

This commit is contained in:
2024-06-13 22:39:33 -06:00
parent d7f0d7e043
commit 1d818fcf92
3 changed files with 11 additions and 19 deletions

View File

@@ -18,24 +18,13 @@
sc = "systemctl --user";
jc = "journalctl --user -xefu";
open-gallery = ''
cd /mnt/pool/scrapping/JawZ/gallery-dl &&
cd /mnt/miniserver/pool/scrapping/JawZ/gallery-dl &&
xdg-open "$(fd . ./ Husbands -tdirectory -d 1 | fzf -i)"'';
};
enableVteIntegration = true;
initExtra = ''
$HOME/.local/bin/pokemon-colorscripts -r --no-title
export command_timeout=60
nixos-reload () {
NIXOSDIR=/home/jawz/Development/NixOS
# nix-store --add-fixed sha256 \
# $NIXOSDIR/PureRef-1.11.1_x64.Appimage
fd --full-path $NIXOSDIR -e nix -x nixfmt \;
sudo nixos-rebuild switch \
--flake "$NIXOSDIR/#$HOSTNAME" \
| nom
}
'';
};
xdg = {