diff options
| -rw-r--r-- | configs/alacritty.toml | 25 | ||||
| -rw-r--r-- | modules/common.nix | 2 | ||||
| -rw-r--r-- | modules/home/common.nix | 6 |
3 files changed, 32 insertions, 1 deletions
diff --git a/configs/alacritty.toml b/configs/alacritty.toml new file mode 100644 index 0000000..9c67e4f --- /dev/null +++ b/configs/alacritty.toml @@ -0,0 +1,25 @@ +[shell] + +program = "/run/current-system/sw/bin/tmux" +args = [ "new-session", "-A", "-D", "-s", "mains" ] + +[window] + +decorations = "None" +startup_mode = "Maximized" + +padding.x = 2 +padding.y = 2 + +[font] + +normal.family = "Meslo LG M DZ" +bold.family = "Meslo LG M DZ" +italic.family = "Meslo LG M DZ" +bold_italic.family = "Meslo LG M DZ" + +size = 10.0 + +[scrolling] + +history = 0 diff --git a/modules/common.nix b/modules/common.nix index 6a505c2..a3cc48f 100644 --- a/modules/common.nix +++ b/modules/common.nix @@ -87,7 +87,7 @@ jdk maven gradle nil nixfmt-rfc-style direnv nixpkgs-review nixpkgs-fmt nixpkgs-lint-community - helix + helix alacritty wineWowPackages.stagingFull winetricks bottles scrcpy apfs-fuse diff --git a/modules/home/common.nix b/modules/home/common.nix index 3d1c143..35a260c 100644 --- a/modules/home/common.nix +++ b/modules/home/common.nix @@ -25,6 +25,12 @@ direnv = { enable = true; }; }; + xdg.configFile = { + # home-manager does not have the option to pass an alacritty + # config file directly. + "alacritty/alacritty.toml".source = ../../configs/alacritty.toml; + }; + home.sessionPath = [ "$HOME/.local/share/JetBrains/Toolbox/scripts" ]; |
