2024-02-08 20:53:22 +01:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
repoFlake,
|
|
|
|
...
|
2024-11-15 10:17:56 +01:00
|
|
|
}:
|
|
|
|
let
|
2023-05-23 18:11:30 +02:00
|
|
|
|
|
|
|
nixpkgs-wayland' = repoFlake.inputs.nixpkgs-wayland.packages.${pkgs.system};
|
2024-11-15 10:17:56 +01:00
|
|
|
in
|
|
|
|
{
|
2023-05-21 11:58:57 +02:00
|
|
|
fonts.fontconfig.enable = true;
|
|
|
|
|
2023-05-23 18:11:30 +02:00
|
|
|
# services.gpg-agent.pinentryFlavor = lib.mkForce null;
|
|
|
|
# services.gpg-agent.extraConfig = ''
|
|
|
|
# pinentry-program "${wayprompt}/bin/pinentry-wayprompt"
|
|
|
|
# '';
|
|
|
|
|
2023-05-23 19:02:35 +02:00
|
|
|
services = {
|
|
|
|
blueman-applet.enable = true;
|
|
|
|
network-manager-applet.enable = true;
|
|
|
|
};
|
|
|
|
|
2023-05-23 20:32:32 +02:00
|
|
|
systemd.user.targets.tray = {
|
|
|
|
Unit = {
|
|
|
|
Description = "Home Manager System Tray";
|
2024-11-15 10:17:56 +01:00
|
|
|
Requires = [ "graphical-session-pre.target" ];
|
2023-05-23 20:32:32 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-11-15 10:17:56 +01:00
|
|
|
home.packages =
|
|
|
|
with pkgs;
|
2024-02-08 20:53:22 +01:00
|
|
|
[
|
|
|
|
# required by network-manager-applet
|
2024-06-12 22:23:27 +02:00
|
|
|
networkmanagerapplet
|
2023-05-23 19:02:35 +02:00
|
|
|
|
2024-02-08 20:53:22 +01:00
|
|
|
wlr-randr
|
|
|
|
wayout
|
|
|
|
wl-clipboard
|
|
|
|
wmctrl
|
2023-05-21 11:58:57 +02:00
|
|
|
|
2024-02-08 20:53:22 +01:00
|
|
|
nixpkgs-wayland'.shotman
|
2023-05-23 18:11:30 +02:00
|
|
|
|
2024-02-08 20:53:22 +01:00
|
|
|
# identifies key input syms
|
|
|
|
wev
|
2023-05-21 11:58:57 +02:00
|
|
|
|
2024-02-08 20:53:22 +01:00
|
|
|
# TODO: whwat's this for?
|
|
|
|
# wltype
|
2023-05-21 11:58:57 +02:00
|
|
|
|
2024-02-08 20:53:22 +01:00
|
|
|
qt5.qtwayland
|
|
|
|
qt6.qtwayland
|
|
|
|
# libsForQt5.qt5.qtwayland
|
|
|
|
# libsForQt6.qt6.qtwayland
|
2023-05-23 18:11:30 +02:00
|
|
|
|
2025-01-19 23:37:18 +01:00
|
|
|
# audio
|
|
|
|
playerctl
|
|
|
|
helvum
|
|
|
|
pasystray
|
|
|
|
sonusmix
|
|
|
|
pwvucontrol
|
|
|
|
|
2024-02-08 20:53:22 +01:00
|
|
|
# probably required by flameshot
|
|
|
|
# xdg-desktop-portal xdg-desktop-portal-wlr
|
|
|
|
# grim
|
2024-06-12 22:23:27 +02:00
|
|
|
|
|
|
|
waypipe
|
2024-01-22 22:50:51 +01:00
|
|
|
]
|
2024-11-15 10:17:56 +01:00
|
|
|
++ (lib.lists.optionals (!pkgs.stdenv.isAarch64)
|
2024-02-08 20:53:22 +01:00
|
|
|
# TODO: broken on aarch64
|
2024-11-15 10:17:56 +01:00
|
|
|
[ ]
|
2024-02-08 20:53:22 +01:00
|
|
|
);
|
2023-05-21 11:58:57 +02:00
|
|
|
|
|
|
|
home.sessionVariables = {
|
|
|
|
XDG_SESSION_TYPE = "wayland";
|
|
|
|
NIXOS_OZONE_WL = "1";
|
|
|
|
MOZ_ENABLE_WAYLAND = "1";
|
2024-07-26 14:04:45 +02:00
|
|
|
WLR_NO_HARDWARE_CURSORS = "1";
|
2023-05-21 11:58:57 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
home.pointerCursor = {
|
|
|
|
name = "Vanilla-DMZ";
|
|
|
|
package = pkgs.vanilla-dmz;
|
|
|
|
size = 32;
|
|
|
|
x11.enable = true;
|
|
|
|
gtk.enable = true;
|
|
|
|
};
|
|
|
|
}
|