diff options
| author | Andrew <admonty1@protonmail.com> | 2025-11-08 14:12:25 -0500 |
|---|---|---|
| committer | Andrew <admonty1@protonmail.com> | 2025-11-08 14:12:25 -0500 |
| commit | 3dced67726a4b98a625643414ce9c4fd30ac889a (patch) | |
| tree | 3557dc79077bae6c7e1a1c598186dffb29bf1059 | |
| parent | dotfile managment (diff) | |
| download | nixos-3dced67726a4b98a625643414ce9c4fd30ac889a.tar.gz nixos-3dced67726a4b98a625643414ce9c4fd30ac889a.tar.bz2 nixos-3dced67726a4b98a625643414ce9c4fd30ac889a.zip | |
add astronvim config
Diffstat (limited to '')
| -rw-r--r-- | .gitmodules | 3 | ||||
| m--------- | astronvim-config | 0 | ||||
| -rw-r--r-- | home.nix | 1 | ||||
| -rw-r--r-- | neovim.nix | 16 |
4 files changed, 14 insertions, 6 deletions
diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..3acb5e4 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "astronvim-config"] + path = astronvim-config + url = https://github.com/Skullheadx/astronvim-config.git diff --git a/astronvim-config b/astronvim-config new file mode 160000 +Subproject 3d60141a648aabfd15504a09d408784d3abae96 @@ -5,6 +5,7 @@ inputs, ... }: { + imports = [ ./sh.nix ./ghostty.nix @@ -5,12 +5,16 @@ inputs, ... }: let - filePath = "${config.dotfiles.path}/astronvim-config/init.lua"; +dotfiles.mutable = true; +dotfiles.path = "${config.home.homeDirectory}/.dotfiles"; + filePath = "${config.dotfiles.path}/astronvim-config"; configSrc = - if !config.dotfiles.mutable - then ./init.lua - else config.lib.file.mkOutOfStoreSymlink filePath; + config.lib.file.mkOutOfStoreSymlink filePath; in { - home.packages = [pkgs.neovim]; - xdg.configFile."neovim/config.conf".source = configSrc; + xdg.configFile."nvim".source = ./astronvim-config; + + programs.neovim = { + enable = true; + defaultEditor = true; + }; } |
