mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 10:30:44 +02:00
Miscellanious: added alias cenv to make a c environment and other things
This commit is contained in:
@@ -23,6 +23,9 @@
|
||||
../../modules/nixos/udevsimple.nix
|
||||
];
|
||||
|
||||
|
||||
programs.nix-ld.enable=true; #Run unpatched dynamic binaries on NixOS. For example lets run ./a.out from gcc
|
||||
|
||||
documentation.man.generateCaches = true; # used for the man script
|
||||
|
||||
hardware.bluetooth.enable = true;
|
||||
@@ -219,6 +222,7 @@
|
||||
networkx
|
||||
scipy
|
||||
]))
|
||||
raylib glfw # raylib and some dependecies
|
||||
#some nix tools
|
||||
manix
|
||||
deadnix
|
||||
|
||||
@@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user