diff --git a/hosts/legion/desktop.nix b/hosts/legion/desktop.nix index b5882f6..785546f 100644 --- a/hosts/legion/desktop.nix +++ b/hosts/legion/desktop.nix @@ -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"; }; }; diff --git a/modules/home/common/desktop/default.nix b/modules/home/common/desktop/default.nix index dcd86f8..4020b7c 100644 --- a/modules/home/common/desktop/default.nix +++ b/modules/home/common/desktop/default.nix @@ -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 = {