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;
settei.user.config = {
home.packages = with pkgs; [alacritty brightnessctl dmenu];
common.desktop.enable = true;
home.packages = with pkgs; [brightnessctl dmenu];
xsession.windowManager.i3 = {
enable = true;
config = {
terminal = "alacritty";
terminal = "wezterm";
modifier = "Mod4";
};
};

View file

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