From 31680c5d30022afeef1a430745f35af6349012cf Mon Sep 17 00:00:00 2001 From: L-Nafaryus Date: Mon, 3 Feb 2025 00:33:48 +0500 Subject: [PATCH 1/2] packages.wezterm: back in town --- packages/default.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/packages/default.nix b/packages/default.nix index 9029d85..f7f6615 100644 --- a/packages/default.nix +++ b/packages/default.nix @@ -89,12 +89,11 @@ in # Pass for cache - # ISSUE: attribute 'targetPlatforms' missing - #wezterm = { - # source = ./wezterm; - # platforms = ["x86_64-linux"]; - # builder = {...}: import; - #}; + wezterm = { + source = ./wezterm; + platforms = ["x86_64-linux"]; + builder = {...}: import; + }; # Container images From e2bffd0c01c87e26a64d52e9d68222b6133f0c59 Mon Sep 17 00:00:00 2001 From: L-Nafaryus Date: Mon, 3 Feb 2025 00:34:25 +0500 Subject: [PATCH 2/2] astora: add more cool tools as multiplexer and more gruvbox style --- nixosConfigurations/astora/users.nix | 48 +++++++++++++++++++++++++--- 1 file changed, 43 insertions(+), 5 deletions(-) diff --git a/nixosConfigurations/astora/users.nix b/nixosConfigurations/astora/users.nix index c75492d..ad56444 100644 --- a/nixosConfigurations/astora/users.nix +++ b/nixosConfigurations/astora/users.nix @@ -131,6 +131,7 @@ in { ksshaskpass # virtiofsd + wl-clipboard ]; xdg.portal = { @@ -262,12 +263,11 @@ in { # Graphical wezterm = { - enable = false; + enable = true; package = inputs.wezterm.packages.x86_64-linux.default; extraConfig = '' return { - color_scheme = "Catppuccin Macchiato", - default_prog = { "fish" }, + default_prog = { "nu" }, font_size = 10.0, enable_tab_bar = true, hide_tab_bar_if_only_one_tab = true, @@ -278,12 +278,45 @@ in { top = 0, bottom = 0 }, - -- ISSUE: the terminal does not update after some time of use. It only updates with mouse movements. [Wayland, Hyprland] - enable_wayland = false + enable_wayland = true, + color_scheme = "gruvbox-dark", + color_schemes = { + ["gruvbox-dark"] = { + foreground = "#D4BE98", + background = "#282828", + cursor_bg = "#D4BE98", + cursor_border = "#D4BE98", + cursor_fg = "#282828", + selection_bg = "#D4BE98", + selection_fg = "#45403d", + + ansi = { "#282828", "#ea6962", "#a9b665", "#d8a657", "#7daea3", "#d3869b", "#89b482", "#d4be98" }, + brights = { "#eddeb5", "#ea6962", "#a9b665", "#d8a657", "#7daea3", "#d3869b", "#89b482", "#d4be98" } + } + }, + keys = { + { key = 'F11', action = wezterm.action.ToggleFullScreen } + } } ''; }; + zellij = { + enable = true; + settings = { + theme = "gruvbox-dark"; + default_mode = "normal"; + copy_command = "${lib.getExe' pkgs.wl-clipboard "wl-copy"}"; + copy_clipboard = "primary"; + }; + }; + + yazi = { + enable = true; + enableNushellIntegration = true; + enableBashIntegration = true; + }; + rofi = { enable = false; package = pkgs.rofi-wayland; @@ -465,4 +498,9 @@ in { programs.adb.enable = true; services.udev.packages = [pkgs.android-udev-rules]; + + services.ollama = { + enable = true; + acceleration = "cuda"; + }; }