diff options
| author | Mel <einebeere@gmail.com> | 2024-11-16 18:02:38 +0100 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2024-11-16 18:02:38 +0100 |
| commit | 46b6b8794e246e918ce2b44fc044230b6a98aa20 (patch) | |
| tree | cf00effb5295102e915b57228b6bffbf636043cc | |
| parent | 36dd440f0e26dc7805e82abab7af9ceac3b06e2e (diff) | |
| download | minerals-46b6b8794e246e918ce2b44fc044230b6a98aa20.tar.zst minerals-46b6b8794e246e918ce2b44fc044230b6a98aa20.zip | |
Add and configure alacritty
Signed-off-by: Mel <einebeere@gmail.com>
| -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" ]; |
