modules/home/common/desktop: switch to wezterm

This commit is contained in:
Nikodem Rabuliński 2024-02-10 17:20:05 +01:00
parent 742e18c376
commit afbab99f72
2 changed files with 10 additions and 14 deletions

View file

@ -10,12 +10,13 @@
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
settei.user.config = { settei.user.config = {
home.packages = with pkgs; [alacritty brightnessctl dmenu]; common.desktop.enable = true;
home.packages = with pkgs; [brightnessctl dmenu];
xsession.windowManager.i3 = { xsession.windowManager.i3 = {
enable = true; enable = true;
config = { config = {
terminal = "alacritty"; terminal = "wezterm";
modifier = "Mod4"; modifier = "Mod4";
}; };
}; };

View file

@ -3,6 +3,7 @@
lib, lib,
pkgs, pkgs,
inputs, inputs,
inputs',
... ...
}: { }: {
_file = ./default.nix; _file = ./default.nix;
@ -13,6 +14,7 @@
config = lib.mkIf config.common.desktop.enable { config = lib.mkIf config.common.desktop.enable {
home.packages = with pkgs; [ home.packages = with pkgs; [
inputs'.settei.packages.wezterm
nerdfonts nerdfonts
fontconfig fontconfig
]; ];
@ -27,19 +29,12 @@
lib.mkIf pkgs.stdenv.isDarwin firefox-pkgs.firefox-bin; lib.mkIf pkgs.stdenv.isDarwin firefox-pkgs.firefox-bin;
}; };
programs.alacritty = { programs.qutebrowser = {
enable = true; enable = true;
settings = { package =
cursor.style.shape = "Beam";
window = {
option_as_alt = lib.mkIf pkgs.stdenv.isDarwin "Both";
decorations =
if pkgs.stdenv.isDarwin if pkgs.stdenv.isDarwin
then "Buttonless" then inputs'.niko-nur.packages.qutebrowser-bin
else "None"; else pkgs.qutebrowser;
};
font.normal.family = "Iosevka Nerd Font";
};
}; };
programs.zellij = { programs.zellij = {