From 7e5cb4570b315d51a71ab11fc6f724575879c774 Mon Sep 17 00:00:00 2001 From: albert Date: Thu, 4 Apr 2024 21:22:50 +0900 Subject: [PATCH] update --- home-manager/common/software/cli/nixvim.nix | 2 +- home-manager/common/software/cli/nixvim/base.nix | 5 +++++ nixos/hosts/nixos-desktop/default.nix | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/home-manager/common/software/cli/nixvim.nix b/home-manager/common/software/cli/nixvim.nix index a35c2c22..888b3e3a 100644 --- a/home-manager/common/software/cli/nixvim.nix +++ b/home-manager/common/software/cli/nixvim.nix @@ -1,4 +1,4 @@ -{ ... }: { +{ pkgs, ... }: { imports = [ ./nixvim/base.nix ]; programs.nixvim = { diff --git a/home-manager/common/software/cli/nixvim/base.nix b/home-manager/common/software/cli/nixvim/base.nix index 1926d003..be094e23 100644 --- a/home-manager/common/software/cli/nixvim/base.nix +++ b/home-manager/common/software/cli/nixvim/base.nix @@ -30,6 +30,10 @@ termguicolors = true; }; + extraConfigLuaPost = '' + vim.opt.shell = '/run/current-system/sw/bin/bash' + ''; + plugins = { # Git related # Gutter information for git modifications @@ -244,6 +248,7 @@ everforest onedark-nvim rose-pine + rust-vim ]; }; } diff --git a/nixos/hosts/nixos-desktop/default.nix b/nixos/hosts/nixos-desktop/default.nix index bb28a894..ea4c7a78 100644 --- a/nixos/hosts/nixos-desktop/default.nix +++ b/nixos/hosts/nixos-desktop/default.nix @@ -1,4 +1,4 @@ -{ inputs, config, lib, pkgs, modulesPath, desktop, hostname, username, system, ... }: { +{ inputs, config, lib, pkgs, system, ... }: { imports = [ ./disks.nix ../../common/modules/secureboot.nix