diff --git a/common.nix b/common.nix index 7ff46c6..ce98932 100644 --- a/common.nix +++ b/common.nix @@ -68,8 +68,7 @@ with builtins; #}; #security.sudo.extraConfig = "Defaults insults"; - - + boot.kernel.sysctl.vm.max_map_count = 2147483642; hardware.opengl.enable = true; diff --git a/hosts/monosodium-glutamate-g/configuration.nix b/hosts/monosodium-glutamate-g/configuration.nix index 9f18ec1..620a6a4 100644 --- a/hosts/monosodium-glutamate-g/configuration.nix +++ b/hosts/monosodium-glutamate-g/configuration.nix @@ -64,6 +64,8 @@ #} #]; + boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; + programs.corectrl.enable = true; networking.hostName = "monosodium-glutamate-g"; @@ -88,6 +90,7 @@ nvtop-amd radeontop rgp + tea ]; programs.wireshark.enable = true; diff --git a/modules/neovim.nix b/modules/neovim.nix index c1eb155..f91bb3c 100644 --- a/modules/neovim.nix +++ b/modules/neovim.nix @@ -13,6 +13,7 @@ in with lib; { ]; programs.neovim = { enable = true; + defaultEditor = true; viAlias = true; vimAlias = true; vimdiffAlias = true; diff --git a/other/scripts/desktop/ocr-screenshot.sh b/other/scripts/desktop/ocr-screenshot.sh old mode 100644 new mode 100755 index cd5b4fe..6cf3da8 --- a/other/scripts/desktop/ocr-screenshot.sh +++ b/other/scripts/desktop/ocr-screenshot.sh @@ -20,7 +20,8 @@ case $selection_menu1 in ;; esac -tesseract $tmp_img.png $tmp_img &> /dev/null -xclip -i $tmp_img.txt -selection clipboard +tesseract $tmp_img.png $tmp_img +cat $tmp_img +xclip -i $tmp_img -selection clipboard exit