Adapts home manager config for nvim and wezterm
- Fixes symlinks for configuration folders - Installs wezterm as homebrew cask so nix-generated config does not interfere with symlinked config files
This commit is contained in:
parent
c8907c8705
commit
99198a910e
4 changed files with 15 additions and 8 deletions
|
|
@ -10,6 +10,8 @@
|
|||
GOPATH = "$HOME/go";
|
||||
};
|
||||
|
||||
xdg.enable = true;
|
||||
|
||||
imports = [
|
||||
./modules/git
|
||||
./modules/fish
|
||||
|
|
|
|||
|
|
@ -1,5 +1,9 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
home.file.".config/nvim" = {
|
||||
source = ./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;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
{
|
||||
programs.wezterm = {
|
||||
enable = true;
|
||||
};
|
||||
{ config, ... }:
|
||||
|
||||
home.file.".config/wezterm" = {
|
||||
source = ./config;
|
||||
{
|
||||
xdg.configFile."wezterm" = {
|
||||
# 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/wezterm/config;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue