vim -> editor
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
in
|
||||
{
|
||||
nixosModules = {
|
||||
vim = modules/vim.nix;
|
||||
editor = modules/editor.nix;
|
||||
zsh = modules/zsh.nix;
|
||||
git = modules/git.nix;
|
||||
udiskie = modules/udiskie.nix;
|
||||
@@ -43,7 +43,7 @@
|
||||
niphas-runner = prev.writers.writeDashBin "niphas-runner" "${prev.lib.getExe prev.rofi} -show run";
|
||||
niphas-locker = prev.swaylock;
|
||||
|
||||
niphas-vim = prev.callPackage packages/vim { };
|
||||
niphas-editor = prev.callPackage packages/vim { };
|
||||
niphas-ashell = import packages/ashell.nix {
|
||||
inherit (inputs) wrappers;
|
||||
pkgs = prev;
|
||||
@@ -82,7 +82,7 @@
|
||||
niphas-ashell
|
||||
niphas-git
|
||||
niphas-niri
|
||||
niphas-vim
|
||||
niphas-editor
|
||||
vimv
|
||||
;
|
||||
}
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{ lib, pkgs, ... }:
|
||||
{
|
||||
environment.variables.EDITOR = lib.getExe pkgs.niphas-vim;
|
||||
environment.variables.EDITOR = lib.getExe pkgs.niphas-editor;
|
||||
environment.shellAliases.vi = "nvim";
|
||||
environment.shellAliases.vim = "nvim";
|
||||
environment.shellAliases.view = "nvim -R";
|
||||
|
||||
environment.systemPackages = [
|
||||
pkgs.niphas-vim
|
||||
pkgs.niphas-editor
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user