diff options
Diffstat (limited to 'modules/home/desktop.nix')
| -rw-r--r-- | modules/home/desktop.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/modules/home/desktop.nix b/modules/home/desktop.nix new file mode 100644 index 0000000..10b3bf5 --- /dev/null +++ b/modules/home/desktop.nix @@ -0,0 +1,30 @@ +{ ... }: + +{ + imports = [ + ./code.nix # vscode + ./zed.nix # zed editor + ]; + + xdg.configFile = { + # home-manager does not have the option to pass an alacritty + # config file directly. + "alacritty/alacritty.toml".source = ../../configs/alacritty.toml; + }; + + home.file = { + # base .vimrc for tools outside of vim, like the + # VSCode Vim plugin. + ".vimrc".source = ../../configs/.vimrc; + + # special .vimrc for the IdeaVim plugin in JetBrains IDEs. + # `source`s the normal ~/.vimrc and enables IdeaVim-specfic plugins. + ".ideavimrc".source = ../../configs/.ideavimrc; + }; + + home.sessionPath = [ + # add scripts to launch jetbrains products to path, + # like `clion`. + "$HOME/.local/share/JetBrains/Toolbox/scripts" + ]; +} |
