fix(home): setup proper path with config variables
This commit is contained in:
parent
af1f017749
commit
8deea88d1f
4 changed files with 8 additions and 3 deletions
|
@ -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 = {
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue