Miscellanious: added alias cenv to make a c environment and other things

This commit is contained in:
Tomas Rivera
2026-03-28 17:46:32 +01:00
parent 75055228c8
commit 8a04ab0e9c
3 changed files with 7 additions and 1 deletions
+2
View File
@@ -32,6 +32,8 @@
mplayer = "mplayer -volume 5";
snrt = "git add -A && sudo nixos-rebuild test --flake ~/nixos/#laptop";
snrs = "git add -A && sudo nixos-rebuild switch --flake ~/nixos/#laptop";
# these are to create the developpement shell
cenv = "nix-shell -p zsh gcc raylib libx11 libGL";
};
};
}
+1 -1
View File
@@ -16,7 +16,7 @@ writeShellApplication {
if rclone listremotes | rg "^''${REMOTE_NAME}:"; then
echo "Mounting ''${REMOTE_NAME}..."
rclone mount "''${REMOTE_NAME}:" "$MOUNT_POINT" --vfs-cache-mode writes &
rclone mount "''${REMOTE_NAME}:" "$MOUNT_POINT" --vfs-cache-mode writes --allow-non-empty &
else
notify-send "rclone mount failed" \
"Remote ''${REMOTE_NAME} not found.\nConfigure rclone and create the dir ~/kdrive/ or comment out the exec line in hyprland.nix."