mirror of
https://github.com/tuxdotrs/nix-config.git
synced 2026-05-07 02:16:33 +05:30
feat: setup wezterm
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
{
|
||||
inputs,
|
||||
withSystem,
|
||||
...
|
||||
}:
|
||||
{
|
||||
@@ -9,6 +8,7 @@
|
||||
tnvim = inputs.tnvim.packages.${prev.stdenv.hostPlatform.system}.default;
|
||||
tpanel = inputs.tpanel.packages.${prev.stdenv.hostPlatform.system}.default;
|
||||
ags = inputs.tpanel.packages.${prev.stdenv.hostPlatform.system}.ags.default;
|
||||
wezterm-git = inputs.wezterm-flake.packages.${prev.stdenv.hostPlatform.system}.default;
|
||||
};
|
||||
|
||||
stable-packages = final: _prev: {
|
||||
|
||||
33
modules/hm/desktop/wezterm.nix
Normal file
33
modules/hm/desktop/wezterm.nix
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
flake.modules.homeManager.desktop =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
programs.wezterm = {
|
||||
enable = true;
|
||||
package = pkgs.wezterm-git;
|
||||
enableZshIntegration = false;
|
||||
|
||||
extraConfig = ''
|
||||
local wezterm = require 'wezterm'
|
||||
local config = {}
|
||||
|
||||
config.check_for_updates = false
|
||||
|
||||
config.window_close_confirmation = 'NeverPrompt'
|
||||
config.color_scheme = 'Poimandres'
|
||||
config.colors = {
|
||||
background = "#0f0f0f"
|
||||
}
|
||||
config.enable_tab_bar = false
|
||||
config.font = wezterm.font_with_fallback {
|
||||
'JetBrainsMono Nerd Font',
|
||||
}
|
||||
config.font_size = 12.0
|
||||
config.window_background_opacity = 1
|
||||
config.audible_bell = "Disabled"
|
||||
|
||||
return config
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -12,6 +12,7 @@
|
||||
"https://yazi.cachix.org"
|
||||
"https://nix-on-droid.cachix.org"
|
||||
"https://lan-mouse.cachix.org"
|
||||
"https://wezterm.cachix.org"
|
||||
];
|
||||
trusted-substituters = [ "https://nix-on-droid.cachix.org" ];
|
||||
trusted-public-keys = [
|
||||
@@ -25,6 +26,7 @@
|
||||
"yazi.cachix.org-1:Dcdz63NZKfvUCbDGngQDAZq6kOroIrFoyO064uvLh8k="
|
||||
"nix-on-droid.cachix.org-1:56snoMJTXmDRC1Ei24CmKoUqvHJ9XCp+nidK7qkMQrU="
|
||||
"lan-mouse.cachix.org-1:KlE2AEZUgkzNKM7BIzMQo8w9yJYqUpor1CAUNRY6OyM="
|
||||
"wezterm.cachix.org-1:kAbhjYUC9qvblTE+s7S+kl5XM1zVa4skO+E/1IDWdH0="
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user