about summary refs log tree commit diff
path: root/modules/nixos/vim/default.nix
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-01-07 23:57:45 +0300
committerAzat Bahawi <azat@bahawi.net>2024-01-07 23:57:45 +0300
commit5a4e7e22a6975ebc3de70e68446ff53109c64170 (patch)
tree0004db42ea38a75bf9dc413f6b77e501f2270fad /modules/nixos/vim/default.nix
parent2024-01-05 (diff)
2024-01-07
Diffstat (limited to '')
-rw-r--r--modules/nixos/vim/default.nix8
1 files changed, 2 insertions, 6 deletions
diff --git a/modules/nixos/vim/default.nix b/modules/nixos/vim/default.nix
index 16e2d51..2fdf064 100644
--- a/modules/nixos/vim/default.nix
+++ b/modules/nixos/vim/default.nix
@@ -2,7 +2,6 @@
   config,
   lib,
   pkgs,
-  this,
   ...
 }:
 with lib; let
@@ -11,13 +10,10 @@ in {
   config = mkIf cfg.enable {
     programs.vim.package =
       (pkgs.vim-full.override {
-        features = "normal";
         cscopeSupport = false;
         darwinSupport = false;
-        guiSupport =
-          if this.isHeadful
-          then "gtk3"
-          else false;
+        features = "normal";
+        guiSupport = "gtk3";
         luaSupport = false;
         multibyteSupport = false;
         netbeansSupport = false;

Consider giving Nix/NixOS a try! <3