splits out configuration into central modules

This commit is contained in:
Dennis Schoepf 2025-05-29 18:26:46 +02:00
parent 58ffb417dd
commit b44654b9a2
63 changed files with 20 additions and 20 deletions

9
modules/nvim/default.nix Normal file
View file

@ -0,0 +1,9 @@
{ config, ... }:
{
xdg.configFile."nvim" = {
# mkOutOfStoreSymlink needs an absolute path, otherwise it does not work: https://github.com/nix-community/home-manager/issues/676#issuecomment-1595795685
# TODO: At least make the location of the config folder dynamic so that it works on other machines
source = config.lib.file.mkOutOfStoreSymlink /Users/dennis/dev/nix-config/home/modules/nvim/config;
};
}