set neovim as default editor

This commit is contained in:
Anthony Rodriguez 2024-08-28 00:04:10 +02:00
parent 0905303cf4
commit 137a2e1106
Signed by: nezia
GPG key ID: EE3BE97C040A86CE
2 changed files with 3 additions and 4 deletions

View file

@ -3,6 +3,7 @@
description = "nezia's nixos configuration";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixvim = {
url = "github:nix-community/nixvim";
inputs.nixpkgs.follows = "nixpkgs";
@ -23,10 +24,7 @@
url = "github:danth/stylix";
inputs.nixpkgs.follows = "nixpkgs";
};
nixos-hardware = {
url = "github:NixOS/nixos-hardware";
inputs.nixpkgs.follows = "nixpkgs";
};
nixos-hardware.url = "github:NixOS/nixos-hardware";
};
outputs = { nixpkgs, nixos-hardware, home-manager, nixvim, sops-nix, stylix, ... }@inputs:

View file

@ -3,6 +3,7 @@
{
programs.nixvim = {
enable = true;
defaultEditor = true;
viAlias = true;
vimAlias = true;