misc changes

xmonad: added new layout+keybinds, removed useless code
neovim: minor changes
hosts/satori: changed kernel to zen again
home/services and home/programs: minor changes
overlays: changed picom src and other minor changes
This commit is contained in:
2021-09-12 06:24:49 +05:30
parent 347c8bd00c
commit d49f0b473c
18 changed files with 178 additions and 273 deletions

View File

@@ -1,6 +1,6 @@
{config, pkgs, ... }:
let
nvidia-offload = pkgs.writeShellScriptBin "nvidia-offload" ''
nvidia-offload = pkgs.writeShellScriptBin "nvi" ''
export __NV_PRIME_RENDER_OFFLOAD=1
export __NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0
export __GLX_VENDOR_LIBRARY_NAME=nvidia
@@ -25,6 +25,10 @@ in
nvidiaBusId = "PCI:1:0:0";
};
modesetting = { enable = true; };
powerManagement = {
enable = true;
finegrained = true;
};
};
};
services.xserver.videoDrivers = [ "nvidia" ];

View File

@@ -29,7 +29,7 @@
nvim-tree-lua
vim-vsnip
nvim-treesitter
vim-nix
vim-polyglot
(gruvbox.overrideAttrs (oa: { patches = [ ./gruvbox.patch ]; }))
];
};

View File

@@ -27,8 +27,8 @@ vim.o.splitbelow = true
vim.o.splitright = true
comm("set nowrap")
vim.o.conceallevel = 0
vim.o.tabstop = 4
vim.o.shiftwidth = 4
vim.o.tabstop = 2
vim.o.shiftwidth = 2
vim.o.smarttab = true
vim.o.expandtab = true
vim.o.smartindent = true

View File

@@ -13,7 +13,7 @@
libinput= {
enable = true;
mouse = {
accelSpeed = "0";
accelSpeed = null;
};
touchpad = {
middleEmulation = false;