mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 02:28:37 +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
|
../../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
|
documentation.man.generateCaches = true; # used for the man script
|
||||||
|
|
||||||
hardware.bluetooth.enable = true;
|
hardware.bluetooth.enable = true;
|
||||||
@@ -219,6 +222,7 @@
|
|||||||
networkx
|
networkx
|
||||||
scipy
|
scipy
|
||||||
]))
|
]))
|
||||||
|
raylib glfw # raylib and some dependecies
|
||||||
#some nix tools
|
#some nix tools
|
||||||
manix
|
manix
|
||||||
deadnix
|
deadnix
|
||||||
|
|||||||
@@ -32,6 +32,8 @@
|
|||||||
mplayer = "mplayer -volume 5";
|
mplayer = "mplayer -volume 5";
|
||||||
snrt = "git add -A && sudo nixos-rebuild test --flake ~/nixos/#laptop";
|
snrt = "git add -A && sudo nixos-rebuild test --flake ~/nixos/#laptop";
|
||||||
snrs = "git add -A && sudo nixos-rebuild switch --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
|
if rclone listremotes | rg "^''${REMOTE_NAME}:"; then
|
||||||
echo "Mounting ''${REMOTE_NAME}..."
|
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
|
else
|
||||||
notify-send "rclone mount failed" \
|
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."
|
"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