From e06d88e7ac9b04ffe973984dc4472d9f610f62ad Mon Sep 17 00:00:00 2001 From: Sam Date: Sat, 1 Jun 2024 15:55:54 +0100 Subject: [PATCH] alacritty config --- .../optional/desktop/common/alacritty.nix | 20 +++++++++++++++++++ .../optional/desktop/common/default.nix | 3 ++- home/semita.nix | 6 ------ 3 files changed, 22 insertions(+), 7 deletions(-) create mode 100644 home/common/optional/desktop/common/alacritty.nix diff --git a/home/common/optional/desktop/common/alacritty.nix b/home/common/optional/desktop/common/alacritty.nix new file mode 100644 index 0000000..0ee302f --- /dev/null +++ b/home/common/optional/desktop/common/alacritty.nix @@ -0,0 +1,20 @@ +{ config, pkgs, lib, ... }: +let + user = config.home.username; +in +{ + home-manager.users.${user}.programs.alacritty = { + enable = true; + settings = { + + window.padding = { + x = 2; + y = 2; + }; + + shell.program = "${pkgs.zsh}/bin/zsh"; + + cursor.style = "Beam"; + }; + }; +} diff --git a/home/common/optional/desktop/common/default.nix b/home/common/optional/desktop/common/default.nix index 90c09b3..3bbbc74 100644 --- a/home/common/optional/desktop/common/default.nix +++ b/home/common/optional/desktop/common/default.nix @@ -1,10 +1,11 @@ {pkgs, ... }: { imports = [ ./firefox.nix + ./alacritty.nix ]; # Global packages for desktop environments home.packages = [ - pkgs.kitty + pkgs.alacritty pkgs.zathura pkgs.xfce.thunar pkgs.wofi diff --git a/home/semita.nix b/home/semita.nix index 9d8e616..9d87d88 100644 --- a/home/semita.nix +++ b/home/semita.nix @@ -18,12 +18,6 @@ ]; - home.packages = [ - pkgs.alacritty - pkgs.zathura - pkgs.xfce.thunar - ]; - monitors = [ { name = "DP-1";