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";
|
GOPATH = "$HOME/go";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
xdg.enable = true;
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
./modules/git
|
./modules/git
|
||||||
./modules/fish
|
./modules/fish
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,9 @@
|
||||||
|
{ config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
home.file.".config/nvim" = {
|
xdg.configFile."nvim" = {
|
||||||
source = ./config;
|
# 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 @@
|
||||||
{
|
{ config, ... }:
|
||||||
programs.wezterm = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -84,6 +84,7 @@
|
||||||
"eurkey"
|
"eurkey"
|
||||||
"karabiner-elements"
|
"karabiner-elements"
|
||||||
"vial"
|
"vial"
|
||||||
|
"wezterm"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue