From 5b65fc5c566a4349cf2880022a45b78fcc95e212 Mon Sep 17 00:00:00 2001 From: Rouven Seifert Date: Mon, 19 Dec 2022 17:06:01 +0100 Subject: [PATCH] added alacritty --- users/rouven/modules/alacritty/alacritty.yml | 66 ++++++++++++++++++++ users/rouven/modules/alacritty/default.nix | 5 ++ users/rouven/modules/default.nix | 4 +- 3 files changed, 72 insertions(+), 3 deletions(-) create mode 100644 users/rouven/modules/alacritty/alacritty.yml create mode 100644 users/rouven/modules/alacritty/default.nix diff --git a/users/rouven/modules/alacritty/alacritty.yml b/users/rouven/modules/alacritty/alacritty.yml new file mode 100644 index 0000000..c0cb248 --- /dev/null +++ b/users/rouven/modules/alacritty/alacritty.yml @@ -0,0 +1,66 @@ +env: + TERM: xterm-256color +font: + size: 8 + # normal: + # family: SourceCodePro + +shell: + program: '/etc/profiles/per-user/rouven/bin/zsh' + +window: + opacity: 0.7 + +colors: + primary: + background: '0x282a36' + foreground: '0xf8f8f2' + cursor: + text: CellBackground + cursor: CellForeground + vi_mode_cursor: + text: CellBackground + cursor: CellForeground + search: + matches: + foreground: '0x44475a' + background: '0x50fa7b' + focused_match: + foreground: '0x44475a' + background: '0xffb86c' + footer_bar: + background: '0x282a36' + foreground: '0xf8f8f2' + line_indicator: + foreground: None + background: None + selection: + text: CellForeground + background: '0x44475a' + normal: + black: '0x21222c' + red: '0xff5555' + green: '0x50fa7b' + yellow: '0xf1fa8c' + blue: '0xbd93f9' + magenta: '0xff79c6' + cyan: '0x8be9fd' + white: '0xbfbfbf' + bright: + black: '0x4d4d4d' + red: '0xff6e67' + green: '0x5af78e' + yellow: '0xf4f99d' + blue: '0xcaa9fa' + magenta: '0xff92d0' + cyan: '0x9aedfe' + white: '0xe6e6e6' + dim: + black: '0x14151b' + red: '0xff2222' + green: '0x1ef956' + yellow: '0xebf85b' + blue: '0x4d5b86' + magenta: '0xff46b0' + cyan: '0x59dffc' + white: '0xe6e6d1' diff --git a/users/rouven/modules/alacritty/default.nix b/users/rouven/modules/alacritty/default.nix new file mode 100644 index 0000000..62595ec --- /dev/null +++ b/users/rouven/modules/alacritty/default.nix @@ -0,0 +1,5 @@ +{ config, pkgs, ... }: +{ + home.packages = with pkgs; [ alacritty ]; + home.file.".config/alacritty/alacritty.yml".source = ./alacritty.yml; +} diff --git a/users/rouven/modules/default.nix b/users/rouven/modules/default.nix index 532ac16..1d9cbd4 100644 --- a/users/rouven/modules/default.nix +++ b/users/rouven/modules/default.nix @@ -4,6 +4,7 @@ imports = [ ./vifm + ./alacritty ]; home.username = "rouven"; home.homeDirectory = "/home/rouven"; @@ -32,7 +33,6 @@ # sound pavucontrol - yadm # bluetooth blueman @@ -276,8 +276,6 @@ enable = true; }; - home.stateVersion = "22.11"; - # Let Home Manager install and manage itself. programs.home-manager.enable = true; }