From d1f8a298271d2b948522900b70d5d83bdb1ffd20 Mon Sep 17 00:00:00 2001 From: deva Date: Sat, 21 Sep 2024 17:40:25 -0400 Subject: [PATCH] wezterm configuration + st config --- flake.lock | 53 ++++++++++++++++++++++++++++++++++- flake.nix | 1 + home/dotfiles/chadtain.toml | 25 +++++++++++++++++ home/dotfiles/wezterm.lua | 2 +- home/modules/term/default.nix | 1 + home/valerie/home.nix | 1 + 6 files changed, 81 insertions(+), 2 deletions(-) create mode 100644 home/dotfiles/chadtain.toml diff --git a/flake.lock b/flake.lock index 15516a3..ed3febc 100644 --- a/flake.lock +++ b/flake.lock @@ -115,6 +115,21 @@ "type": "github" } }, + "flake-utils_3": { + "locked": { + "lastModified": 1656928814, + "narHash": "sha256-RIFfgBuKz6Hp89yRr7+NR5tzIAbn52h8vT6vXkYjZoM=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "7e2a3b3dfd9af950a856d66b0a7d01e3c18aa249", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, "home-manager": { "inputs": { "nixpkgs": [ @@ -300,6 +315,22 @@ "type": "github" } }, + "nixpkgs_3": { + "locked": { + "lastModified": 1658161305, + "narHash": "sha256-X/nhnMCa1Wx4YapsspyAs6QYz6T/85FofrI6NpdPDHg=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "e4d49de45a3b5dbcb881656b4e3986e666141ea9", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, "parts": { "inputs": { "nixpkgs-lib": [ @@ -393,7 +424,8 @@ "nix-gaming": "nix-gaming", "nix-inspect": "nix-inspect", "nixpkgs": "nixpkgs_2", - "nixpkgs-unstable": "nixpkgs-unstable" + "nixpkgs-unstable": "nixpkgs-unstable", + "st": "st" } }, "rust-overlay": { @@ -436,6 +468,25 @@ "type": "github" } }, + "st": { + "inputs": { + "flake-utils": "flake-utils_3", + "nixpkgs": "nixpkgs_3" + }, + "locked": { + "lastModified": 1726952303, + "narHash": "sha256-d2B4oIpNggaF5bIz6hZ6Bwa9pVzChmL/NbqKtx+8TTg=", + "owner": "devawaves", + "repo": "st", + "rev": "12748a3f10adcb69a9bda7629b771dc6bbaf7da5", + "type": "github" + }, + "original": { + "owner": "devawaves", + "repo": "st", + "type": "github" + } + }, "systems": { "locked": { "lastModified": 1681028828, diff --git a/flake.nix b/flake.nix index b740caf..269be9b 100644 --- a/flake.nix +++ b/flake.nix @@ -28,6 +28,7 @@ inputs.nixpkgs.follows = "nixpkgs"; }; + st.url = "github:devawaves/st"; }; outputs = { diff --git a/home/dotfiles/chadtain.toml b/home/dotfiles/chadtain.toml new file mode 100644 index 0000000..e358e01 --- /dev/null +++ b/home/dotfiles/chadtain.toml @@ -0,0 +1,25 @@ +[colors] +foreground = '#B0B0B0' +background = '#151B21' +cursor_fg = '#B0B0B0' +cursor_border = '#B0B0B0' +ansi = [ + '#151B21', + '#AC8A8C', + '#8AAC8B', + '#ACA98A', + '#6B8BAB', + '#8F8AAC', + '#7C9CBC', + '#565C62' +] +brights = [ + '#42484E', + '#C9938A', + '#9EC49F', + '#C4C19E', + '#7797B7', + '#A39EC4', + '#9AAFE6', + '#B0B0B0' +] diff --git a/home/dotfiles/wezterm.lua b/home/dotfiles/wezterm.lua index ce0248d..a6523eb 100644 --- a/home/dotfiles/wezterm.lua +++ b/home/dotfiles/wezterm.lua @@ -2,7 +2,7 @@ local wezterm = require("wezterm") local config = wezterm.config_builder() -config.color_scheme = "Catppuccin Macchiato" +config.color_scheme = "chadtain" config.use_fancy_tab_bar = false config.window_decorations = "RESIZE" config.hide_tab_bar_if_only_one_tab = true diff --git a/home/modules/term/default.nix b/home/modules/term/default.nix index cfe62c2..6fc7805 100644 --- a/home/modules/term/default.nix +++ b/home/modules/term/default.nix @@ -12,6 +12,7 @@ in { hash = "sha256-HNdGHJ8n81HpVK9gFiRLZBBh0sz4FIUUx/ykGyoxv0c="; } + "/ports/wezterm/colors/camelliaHopeDark.toml"); + xdg.configFile."wezterm/colors/chadtain.toml".text = builtins.readFile ../../dotfiles/chadtain.toml; programs = { wezterm = { enable = true; diff --git a/home/valerie/home.nix b/home/valerie/home.nix index 2e091a5..9efee95 100644 --- a/home/valerie/home.nix +++ b/home/valerie/home.nix @@ -21,6 +21,7 @@ in { packages = [ inputs.nh.packages.x86_64-linux.default + inputs.st.packages.x86_64-linux.st-snazzy ] ++ (with pkgs; [ nom