From 11066035e2d235153778be83d1206e48d20be030 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sat, 17 Apr 2021 20:17:43 +0100 Subject: [PATCH] ops/nixos: add alacritty everywhere --- ops/nixos/lib/common.nix | 1 + ops/nixos/lib/home-manager/common.nix | 1 + ops/nixos/lib/home-manager/graphical-client.nix | 2 ++ 3 files changed, 4 insertions(+) diff --git a/ops/nixos/lib/common.nix b/ops/nixos/lib/common.nix index e747c86eb6..d6078cd682 100644 --- a/ops/nixos/lib/common.nix +++ b/ops/nixos/lib/common.nix @@ -85,6 +85,7 @@ in environment.systemPackages = with pkgs; [ vim rxvt_unicode.terminfo tmux rebuilder tailscale rsync libarchive tcpdump restic + alacritty.terminfo iftop htop jq depot.nix.pkgs.mercurial switch-prebuilt diff --git a/ops/nixos/lib/home-manager/common.nix b/ops/nixos/lib/home-manager/common.nix index bc01146740..49280113f8 100644 --- a/ops/nixos/lib/home-manager/common.nix +++ b/ops/nixos/lib/home-manager/common.nix @@ -99,6 +99,7 @@ in exec "${home-manager}/bin/home-manager" -f "${config.home.homeDirectory}/depot/home-manager-ext.nix" -A "${configName}" "$@" '') rxvt_unicode.terminfo tmux rsync libarchive tcpdump restic + alacritty.terminfo iftop htop jq depot.nix.pkgs.mercurial ] ++ lib.optionals isLinux [ diff --git a/ops/nixos/lib/home-manager/graphical-client.nix b/ops/nixos/lib/home-manager/graphical-client.nix index cbda675917..fdc4e59bf4 100644 --- a/ops/nixos/lib/home-manager/graphical-client.nix +++ b/ops/nixos/lib/home-manager/graphical-client.nix @@ -30,6 +30,8 @@ depot.nix.pkgs.flameshot ]); + programs.alacritty.enable = true; + home.file."bin/screencap" = { executable = true; text = ''