From c7c5dfd6517f721a770f6d96cd5e0a741155902a Mon Sep 17 00:00:00 2001 From: Amneesh Singh Date: Tue, 12 Jul 2022 01:14:09 +0530 Subject: [PATCH] hosts/satori: generic updates Signed-off-by: Amneesh Singh --- hosts/satori/networking.nix | 8 +++++++- hosts/satori/services.nix | 2 +- modules/nvim/default.nix | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/hosts/satori/networking.nix b/hosts/satori/networking.nix index 758a62f..c7ae259 100644 --- a/hosts/satori/networking.nix +++ b/hosts/satori/networking.nix @@ -10,7 +10,13 @@ allowedUDPPorts = [ 22 17840 18172 ]; }; interfaces = { - enp7s0.useDHCP = true; + enp7s0 = { + useDHCP = true; + ipv4.addresses = [{ + prefixLength = 24; + address = "192.168.0.109"; + }]; + }; wlp0s20f3 = { useDHCP = true; ipv4.addresses = [{ diff --git a/hosts/satori/services.nix b/hosts/satori/services.nix index d66c682..7a9f42e 100644 --- a/hosts/satori/services.nix +++ b/hosts/satori/services.nix @@ -8,7 +8,7 @@ enable = true; permitRootLogin = "yes"; }; - + ratbagd.enable = true; btrfs.autoScrub.enable = true; udev.extraRules = '' ACTION=="add|change", KERNEL=="sda", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="bfq" diff --git a/modules/nvim/default.nix b/modules/nvim/default.nix index 703d1f2..ea703a2 100644 --- a/modules/nvim/default.nix +++ b/modules/nvim/default.nix @@ -37,7 +37,7 @@ presence-nvim nvim-web-devicons nvim-tree-lua - nvim-treesitter + (nvim-treesitter.withPlugins (plugins: pkgs.unstable.tree-sitter.allGrammars)) vim-latex-live-preview lspkind-nvim base16-vim