vim -> editor

This commit is contained in:
2026-02-04 08:00:56 +01:00
parent dc52bd8277
commit 44e8ada47b
2 changed files with 5 additions and 5 deletions

View File

@@ -24,7 +24,7 @@
in in
{ {
nixosModules = { nixosModules = {
vim = modules/vim.nix; editor = modules/editor.nix;
zsh = modules/zsh.nix; zsh = modules/zsh.nix;
git = modules/git.nix; git = modules/git.nix;
udiskie = modules/udiskie.nix; udiskie = modules/udiskie.nix;
@@ -43,7 +43,7 @@
niphas-runner = prev.writers.writeDashBin "niphas-runner" "${prev.lib.getExe prev.rofi} -show run"; niphas-runner = prev.writers.writeDashBin "niphas-runner" "${prev.lib.getExe prev.rofi} -show run";
niphas-locker = prev.swaylock; niphas-locker = prev.swaylock;
niphas-vim = prev.callPackage packages/vim { }; niphas-editor = prev.callPackage packages/vim { };
niphas-ashell = import packages/ashell.nix { niphas-ashell = import packages/ashell.nix {
inherit (inputs) wrappers; inherit (inputs) wrappers;
pkgs = prev; pkgs = prev;
@@ -82,7 +82,7 @@
niphas-ashell niphas-ashell
niphas-git niphas-git
niphas-niri niphas-niri
niphas-vim niphas-editor
vimv vimv
; ;
} }

View File

@@ -1,11 +1,11 @@
{ lib, pkgs, ... }: { lib, pkgs, ... }:
{ {
environment.variables.EDITOR = lib.getExe pkgs.niphas-vim; environment.variables.EDITOR = lib.getExe pkgs.niphas-editor;
environment.shellAliases.vi = "nvim"; environment.shellAliases.vi = "nvim";
environment.shellAliases.vim = "nvim"; environment.shellAliases.vim = "nvim";
environment.shellAliases.view = "nvim -R"; environment.shellAliases.view = "nvim -R";
environment.systemPackages = [ environment.systemPackages = [
pkgs.niphas-vim pkgs.niphas-editor
]; ];
} }