diff --git a/hosts/laptop/configuration.nix b/hosts/laptop/configuration.nix index e7446af..d19ebfc 100755 --- a/hosts/laptop/configuration.nix +++ b/hosts/laptop/configuration.nix @@ -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 diff --git a/modules/home-manager/zsh.nix b/modules/home-manager/zsh.nix index 70dad75..0af2bfe 100644 --- a/modules/home-manager/zsh.nix +++ b/modules/home-manager/zsh.nix @@ -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"; }; }; } diff --git a/modules/scripts/mountkdrive.nix b/modules/scripts/mountkdrive.nix index 4786590..1b1d2df 100644 --- a/modules/scripts/mountkdrive.nix +++ b/modules/scripts/mountkdrive.nix @@ -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."