1
0
Fork 0

fix(home): setup proper path with config variables

This commit is contained in:
Philipp 2025-05-31 15:48:07 +02:00
parent af1f017749
commit 8deea88d1f
Signed by: Philipp
GPG key ID: 9EBD8439AFBAB750
4 changed files with 8 additions and 3 deletions

View file

@ -14,6 +14,7 @@ in
enable = mkBoolOpt false "Whether or not to enable neovim.";
};
config = mkIf cfg.enable {
environment.variables.EDITOR = "nvim";
programs.nvf = {
enable = true;
settings = {

View file

@ -19,7 +19,7 @@ in
enable = true;
clean.enable = true;
clean.extraArgs = "--keep-since 4d --keep 3";
flake = "/home/philipp/Documents/nix-config";
flake = "${config.home-manager.users.philipp.home.homeDirectory}/Documents/nix-config";
};
};