From 2a79b770054d1cd4699cdaaae8eab83a8ca92006 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Tue, 29 Aug 2023 12:15:22 +0530 Subject: repo: update the project structure --- modules/wayland.nix | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 modules/wayland.nix (limited to 'modules/wayland.nix') diff --git a/modules/wayland.nix b/modules/wayland.nix new file mode 100644 index 0000000..65eb0e0 --- /dev/null +++ b/modules/wayland.nix @@ -0,0 +1,72 @@ +{ pkgs, ... }: + +{ + # pkgs + environment.systemPackages = with pkgs; [ + dwl-sinan + zathura + pinentry-gnome + mpv + qemu + OVMFFull + element-desktop + swaylock + swayidle + swaybg + foot + grim + slurp + wl-clipboard + wmenu-sinan + mako + wayland + xdg-utils + imv + libnotify + wob + wlr-randr + tor-browser-bundle-bin + wtype + ]; + + # font + fonts = { + packages = with pkgs; [ + terminus-nerdfont + dm-sans + ]; + enableDefaultPackages = true; + fontconfig = { + hinting.style = "full"; + defaultFonts = { + monospace = [ "Terminess Nerd Font" ]; + serif = [ "DeepMind Sans" ]; + sansSerif = [ "DeepMind Sans" ]; + }; + }; + }; + + # misc + hardware.opengl.enable = true; + + services.dbus.enable = true; + programs = { + xwayland.enable = true; + gnupg.agent = { + enable = true; + pinentryFlavor = "gnome3"; + }; + firefox = { + enable = true; + preferences = { + "media.ffmpeg.vaapi.enabled" = true; + "gfx.webrender.all" = true; + }; + }; + }; + + security = { + polkit.enable = true; + pam.services.swaylock.text = "auth include login"; + }; +} -- cgit v1.2.3