From 493c355153cb690d87d99303e4a550bf16e8d747 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Sat, 4 Nov 2023 16:00:49 +0530 Subject: cez/wayland: dwl -> sway --- hosts/cez/configuration.nix | 4 ---- hosts/cez/modules/wayland.nix | 19 ++++++++----------- hosts/cez/overlays/wmenu.nix | 12 ------------ 3 files changed, 8 insertions(+), 27 deletions(-) delete mode 100644 hosts/cez/overlays/wmenu.nix (limited to 'hosts') diff --git a/hosts/cez/configuration.nix b/hosts/cez/configuration.nix index 31cde1a..05e7dd6 100644 --- a/hosts/cez/configuration.nix +++ b/hosts/cez/configuration.nix @@ -12,10 +12,6 @@ in ../../common.nix ]; - nixpkgs.overlays = [ - (import ./overlays/wmenu.nix) - ]; - boot = { initrd.luks.reusePassphrases = true; consoleLogLevel = 3; diff --git a/hosts/cez/modules/wayland.nix b/hosts/cez/modules/wayland.nix index 524b1fc..69e738a 100644 --- a/hosts/cez/modules/wayland.nix +++ b/hosts/cez/modules/wayland.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... }: +{ config, pkgs, lib, ... }: let user = config.userdata.user; @@ -6,32 +6,30 @@ in { # pkgs environment.systemPackages = with pkgs; [ - dwl-sinan - wmenu - pinentry-gnome + bemenu + sway + i3status + pinentry-bemenu swaylock swayidle swaybg foot wl-clipboard mako - wayland xdg-utils libnotify - wob - wlr-randr ]; users.users.${user}.packages = with pkgs; [ zathura mpv imv wtype - tor-browser-bundle-bin qemu OVMFFull - element-desktop-wayland grim slurp + tor-browser-bundle-bin + element-desktop-wayland ]; # font @@ -61,10 +59,9 @@ in }; programs = { - xwayland.enable = true; gnupg.agent = { enable = true; - pinentryFlavor = "gnome3"; + settings.pinentry-program = lib.mkForce "${pkgs.pinentry-bemenu}/bin/pinentry-bemenu"; }; firefox = { enable = true; diff --git a/hosts/cez/overlays/wmenu.nix b/hosts/cez/overlays/wmenu.nix deleted file mode 100644 index cad340b..0000000 --- a/hosts/cez/overlays/wmenu.nix +++ /dev/null @@ -1,12 +0,0 @@ -final: prev: - -{ - wmenu = prev.wmenu.overrideAttrs (finalAttrs: prevAttrs: - { - pname = prevAttrs.pname + "-sinan"; - postPatch = '' - sed 's/monospace 10/monospace 13/g' -i main.c - ''; - } - ); -} -- cgit v1.2.3