diff options
| author | Mel <mel@rnrd.eu> | 2026-04-07 15:25:24 +0200 |
|---|---|---|
| committer | Mel <mel@rnrd.eu> | 2026-04-07 15:25:24 +0200 |
| commit | 25911fcecd5efd4c95a98f21b7110232cce7d50d (patch) | |
| tree | a7ae5f93fc630cbc9b89d03f1a1bf2668f491d3f /modules/home/desktop.nix | |
| parent | a7f0a80d370d591935db05a420010bdee7dac4b0 (diff) | |
| download | minerals-25911fcecd5efd4c95a98f21b7110232cce7d50d.tar.zst minerals-25911fcecd5efd4c95a98f21b7110232cce7d50d.zip | |
Add desktop role for home-manager modules
Signed-off-by: Mel <mel@rnrd.eu>
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" + ]; +} |
