From 21e06ef060daf270f71055f8757c4738107bfc7a Mon Sep 17 00:00:00 2001 From: Gabe Venberg Date: Sun, 16 Jun 2024 14:52:04 -0500 Subject: [PATCH 1/2] added keybind for ts context. --- modules/home-manager/nvim/treesitter/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/home-manager/nvim/treesitter/default.nix b/modules/home-manager/nvim/treesitter/default.nix index 080fbd2..a92d22a 100644 --- a/modules/home-manager/nvim/treesitter/default.nix +++ b/modules/home-manager/nvim/treesitter/default.nix @@ -28,6 +28,15 @@ }) ''; keymaps = [ + { + action = ":TSContextToggle"; + key = "x"; + mode = "n"; + options = { + silent = true; + desc = "tree context toggle"; + }; + } { action = ":TSJToggle"; key = "j"; From 82ffcbc90567b3280d63a9c3a630818c805dd581 Mon Sep 17 00:00:00 2001 From: Gabe Venberg Date: Sun, 16 Jun 2024 14:52:15 -0500 Subject: [PATCH 2/2] seccond attempt at rockpro64 image, still gets OOMed on laptop. --- packages/rockpro64-image.nix | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/packages/rockpro64-image.nix b/packages/rockpro64-image.nix index 11568b0..5b1a0cf 100644 --- a/packages/rockpro64-image.nix +++ b/packages/rockpro64-image.nix @@ -26,7 +26,6 @@ options, ... }: { - # nixpkgs.crossSystem.system="aarch64-linux"; nixpkgs.buildPlatform.system = "x86_64-linux"; nixpkgs.hostPlatform.system = "aarch64-linux"; imports = [ @@ -43,7 +42,7 @@ users.users.${config.host.user} = { packages = with pkgs; [ gparted - firefox + neovim ]; }; @@ -91,17 +90,6 @@ # plenty of free memory. boot.kernel.sysctl."vm.overcommit_memory" = "1"; - # To speed up installation a little bit, include the complete - # stdenv in the Nix store on the CD. - system.extraDependencies = with pkgs; [ - stdenv - stdenvNoCC # for runCommand - busybox - jq # for closureInfo - # For boot.initrd.systemd - makeInitrdNGTool - ]; - # Show all debug messages from the kernel but don't log refused packets # because we have the firewall enabled. This makes installs from the # console less cumbersome if the machine has a public IP.