added rudimentary nixvim config

This commit is contained in:
serenity-F 2024-11-11 18:29:03 +10:00
parent d1f26ac23f
commit 3f85a5db9a
No known key found for this signature in database
3 changed files with 27 additions and 1 deletions

View file

@ -63,6 +63,14 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
nixvim = {
url = "github:nix-community/nixvim";
## If you are not running an unstable channel of nixpkgs,
## select the corresponding branch of nixvim.
# url = "github:nix-community/nixvim/nixos-24.05";
inputs.nixpkgs.follows = "nixpkgs";
};
## Graphical config editor? seeing what's up w/ it - removed ForNow:tm: ## Graphical config editor? seeing what's up w/ it - removed ForNow:tm:
#nixos-conf-editor.url = "github:snowfallorg/nixos-conf-editor"; #nixos-conf-editor.url = "github:snowfallorg/nixos-conf-editor";
@ -83,11 +91,12 @@
outputs = { outputs = {
self, self,
nixpkgs,
hardware, hardware,
disko, disko,
nixpkgs,
sops-nix, sops-nix,
home-manager, home-manager,
nixvim,
nix-colors, nix-colors,
hyprland, hyprland,
hyprland-plugins, hyprland-plugins,

View file

@ -14,6 +14,7 @@
./git.nix ./git.nix
./yazi.nix ./yazi.nix
./kitty.nix ./kitty.nix
./nixvim.nix
./neofetch.nix ./neofetch.nix
]; ];

View file

@ -0,0 +1,16 @@
{ config, pkgs, lib, ... }:
{
programs.nixvim = {
enable = true;
colorschemes = {
catppuccin.enable = true;
};
plugins = {
lualine.enable = true;
};
};
}