diff --git a/home-manager/modules/nixvim/keymaps.nix b/home-manager/modules/nixvim/keymaps.nix new file mode 100644 index 0000000..6084b1c --- /dev/null +++ b/home-manager/modules/nixvim/keymaps.nix @@ -0,0 +1,9 @@ +{ ... }: +{ + programs.nixvim.keymaps = [ + { + action = "Neotree toggle"; + key = "l"; + } + ]; +} diff --git a/home-manager/modules/nixvim/nixvim.nix b/home-manager/modules/nixvim/nixvim.nix index a79328b..a52ba98 100644 --- a/home-manager/modules/nixvim/nixvim.nix +++ b/home-manager/modules/nixvim/nixvim.nix @@ -15,13 +15,14 @@ opts = { relativenumber = true; clipboard = "unnamedplus"; - tabstop = 4; - softtabstop = 4; - showtabline = 4; + tabstop = 2; + softtabstop = 2; + showtabline = 2; }; }; imports = [ + ./keymaps.nix ./plugins-bundle.nix ]; } diff --git a/nixos/modules/hardware/nvidia.nix b/nixos/modules/hardware/nvidia.nix index dc7f8df..cfa8692 100644 --- a/nixos/modules/hardware/nvidia.nix +++ b/nixos/modules/hardware/nvidia.nix @@ -16,9 +16,9 @@ hardware.nvidia.prime = { - sync.enable = true; + reverseSync.enable = true; nvidiaBusId = "PCI:1:0:0"; amdgpuBusId = "PCI:4:2:0"; }; -} \ No newline at end of file +} diff --git a/nixos/modules/virtualbox.nix b/nixos/modules/virtualbox.nix deleted file mode 100644 index a688f31..0000000 --- a/nixos/modules/virtualbox.nix +++ /dev/null @@ -1,9 +0,0 @@ -{ - virtualisation.virtualbox.host = { - enable = true; - enableExtensionPack = true; - }; - - services.gvfs.enable = true; - services.udisks2.enable = true; -} \ No newline at end of file diff --git a/nixos/modules/zapret.nix b/nixos/modules/zapret.nix index 3d16d42..6b857e9 100644 --- a/nixos/modules/zapret.nix +++ b/nixos/modules/zapret.nix @@ -53,6 +53,7 @@ "7tv.app" "7tv.io" "10tv.app" + "x.com" ]; }; };