From 54eb1e446afb43e253d44acc4001905e27ff376c Mon Sep 17 00:00:00 2001 From: xqtc161 Date: Mon, 5 Feb 2024 18:59:12 +0100 Subject: [PATCH] Further neovim config; enable gnupgp --- home/lambda/config-files/wezterm.lua | 2 +- home/lambda/default.nix | 16 +++++++++++++++- hosts/lambda/default.nix | 10 ++++++---- 3 files changed, 22 insertions(+), 6 deletions(-) diff --git a/home/lambda/config-files/wezterm.lua b/home/lambda/config-files/wezterm.lua index 96d6f78..fb4ee0c 100644 --- a/home/lambda/config-files/wezterm.lua +++ b/home/lambda/config-files/wezterm.lua @@ -39,7 +39,7 @@ config.text_background_opacity = .4 config.enable_scroll_bar = false config.enable_tab_bar = true config.tab_bar_at_bottom = true -config.enable_wayland = false +config.enable_wayland = true config.front_end = "OpenGL" config.warn_about_missing_glyphs = false return config diff --git a/home/lambda/default.nix b/home/lambda/default.nix index f4ea7fe..45a27f0 100644 --- a/home/lambda/default.nix +++ b/home/lambda/default.nix @@ -77,7 +77,19 @@ }; gitsigns.enable = true; fugitive.enable = true; - treesitter.enable = true; + treesitter = { + enable = true; + folding = true; + indent = true; + nixvimInjections = true; + }; + treesitter-refactor = { + enable = true; + smartRename.enable = true; + highlightCurrentScope.enable = true; + navigation.enable = true; + }; + cursorline.enable = true; #nvim-cmp = { # enable = true; # sources = [ @@ -200,6 +212,8 @@ btop iftop + zathura + strace ltrace diff --git a/hosts/lambda/default.nix b/hosts/lambda/default.nix index f1a9692..2f89243 100644 --- a/hosts/lambda/default.nix +++ b/hosts/lambda/default.nix @@ -142,10 +142,12 @@ # Some programs need SUID wrappers, can be configured further or are # started in user sessions. # programs.mtr.enable = true; - # programs.gnupg.agent = { - # enable = true; - # enableSSHSupport = true; - # }; + programs.gnupg.agent = { + enable = true; + enableSSHSupport = true; + }; + services.udev.packages = [ pkgs.yubikey-personalization ]; + services.pcscd.enable = true; # List services that you want to enable: