From bc40956b3aa1e00938cfd75a3cc59eeedbe833fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sat, 4 Jul 2020 15:58:00 +0100 Subject: [PATCH] move terminal variable closer to terminal deifnition --- nixos/boxes/foureighty/home.nix | 4 ---- nixos/boxes/skinnyv/home.nix | 4 ---- nixos/programs/alacritty.nix | 4 ++++ 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/nixos/boxes/foureighty/home.nix b/nixos/boxes/foureighty/home.nix index 2beecf77..945bb458 100644 --- a/nixos/boxes/foureighty/home.nix +++ b/nixos/boxes/foureighty/home.nix @@ -14,10 +14,6 @@ in }; }; - home.sessionVariables = { - TERMINAL="alacritty"; - }; - home.file.".config/i3/status.toml".source = ~/dev/dotfiles/.config/i3/status-double-bat.toml; imports = [ diff --git a/nixos/boxes/skinnyv/home.nix b/nixos/boxes/skinnyv/home.nix index 927e4233..e383dc4c 100644 --- a/nixos/boxes/skinnyv/home.nix +++ b/nixos/boxes/skinnyv/home.nix @@ -14,10 +14,6 @@ in }; }; - home.sessionVariables = { - TERMINAL="alacritty"; - }; - home.file.".config/i3/status.toml".source = ~/dev/dotfiles/.config/i3/status-single-bat.toml; imports = [ diff --git a/nixos/programs/alacritty.nix b/nixos/programs/alacritty.nix index e83fb018..12fbe439 100644 --- a/nixos/programs/alacritty.nix +++ b/nixos/programs/alacritty.nix @@ -1,5 +1,9 @@ { config, pkgs, ... }: { + home.sessionVariables = { + TERMINAL="alacritty"; + }; + programs.alacritty = { enable = true; settings = {