moved nvf to nvf.nix and added nvim

This commit is contained in:
2025-11-21 18:29:49 +01:00
parent 7610485ad0
commit 9e61c71972
2 changed files with 33 additions and 13 deletions

View File

@@ -1,20 +1,19 @@
{
pkgs,
config,
builtins,
...
}:
let
nvf = import (builtins.fetchTarball {
url = "https://github.com/notashelf/nvf/archive/v0.8.tar.gz";
# Optionally, you can add 'sha256' for verification and caching
# sha256 = "<sha256>";
});
in{
imports = [
nvf.nixosModules.nvf
];
programs.nvf = {
}: {
programs.neovim = {
enable = true;
defaultEditor = true;
viAlias = true;
vimAlias = true;
configure = {
customRC = ''
set number
'';
};
};
}