diff --git a/users/maekasza/default.nix b/users/maekasza/default.nix index dce94e2..5c816d1 100644 --- a/users/maekasza/default.nix +++ b/users/maekasza/default.nix @@ -12,7 +12,6 @@ home.sessionVariables = { XDG_DATA_DIRS = "$XDG_DATA_DIRS:/var/lib/flatpak/exports/share:$HOME/.local/share/flatpak/exports/share"; - EDITOR = "${pkgs.neovim}/bin/nvim"; MOZ_ENABLE_WAYLAND = 1; }; gtk = { diff --git a/users/modules/alacritty/default.nix b/users/modules/alacritty/default.nix index 79dfb03..2902ca8 100644 --- a/users/modules/alacritty/default.nix +++ b/users/modules/alacritty/default.nix @@ -16,7 +16,11 @@ in { options.mae.alacritty = { enable = lib.mkEnableOption "Enable the alacritty terminal"; - libglWrapper = lib.mkEnableOption "Wrap alacritty in libgl to make it work on non nixos systems"; + libglWrapper = lib.mkOption { + default = false; + type = lib.types.bool; + description = "Wrap alacritty in libgl to make it work on non nixos systems"; + }; }; config = lib.mkIf cfg.enable { fonts.fontconfig.enable = true; diff --git a/users/modules/neovim/default.nix b/users/modules/neovim/default.nix index cbf6b5b..c651ac6 100644 --- a/users/modules/neovim/default.nix +++ b/users/modules/neovim/default.nix @@ -18,6 +18,7 @@ in enable = mkEnableOption "enable neovim"; }; config = { + home.sessionVariables.EDITOR = "${pkgs.neovim}/bin/nvim"; programs.neovim = mkIf cfg.enable { enable = true; vimdiffAlias = true; @@ -31,7 +32,6 @@ in config = "colorscheme iceberg"; } vim-sleuth - ]; extraPackages = with pkgs; [ nodePackages.prettier