diff --git a/flake.nix b/flake.nix index b0d03f6..ab7371c 100644 --- a/flake.nix +++ b/flake.nix @@ -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: diff --git a/home/base/programs/nixvim/core.nix b/home/base/programs/nixvim/core.nix index 87b532b..99e61d0 100644 --- a/home/base/programs/nixvim/core.nix +++ b/home/base/programs/nixvim/core.nix @@ -3,6 +3,7 @@ { programs.nixvim = { enable = true; + defaultEditor = true; viAlias = true; vimAlias = true;