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

View file

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