Skip to content

Commit dd75e0c

Browse files
committed
vim config
1 parent 9d31c0d commit dd75e0c

File tree

4 files changed

+615
-10
lines changed

4 files changed

+615
-10
lines changed

flake.lock

Lines changed: 60 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@
3434
inputs.nixpkgs.follows = "nixpkgs";
3535
};
3636

37+
nixvim = {
38+
url = "github:nix-community/nixvim";
39+
inputs.nixpkgs.follows = "nixpkgs";
40+
};
41+
3742
hyprland = {
3843
url = "github:hyprwm/Hyprland/v0.45.2";
3944
};
@@ -50,6 +55,7 @@
5055
, agenix
5156
, catppuccin
5257
, hyprland
58+
, nixvim
5359
} @ inputs:
5460
{
5561
darwinConfigurations = {

modules/home-manager/base/default.nix

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ in
77
{
88
imports = [
99
inputs.catppuccin.homeModules.catppuccin
10+
inputs.nixvim.homeModules.nixvim
11+
1012
../programs
13+
./vim.nix
1114
];
1215

1316
nix.settings = {
@@ -86,10 +89,6 @@ in
8689
ur = "uv run";
8790
};
8891

89-
home.sessionVariables = {
90-
EDITOR = "nvim";
91-
};
92-
9392
home.sessionPath = [
9493
"/nix/var/nix/profiles/default/bin"
9594
"${config.home.homeDirectory}/.local/bin"
@@ -153,11 +152,6 @@ in
153152

154153
lsd.enable = true;
155154

156-
neovim = {
157-
enable = true;
158-
vimAlias = true;
159-
};
160-
161155
broot = {
162156
enable = true;
163157
enableZshIntegration = true;

0 commit comments

Comments
 (0)