2023-11-26 02:19:43 -05:00
|
|
|
{
|
|
|
|
pkgs,
|
2024-04-17 20:29:26 -04:00
|
|
|
config,
|
2023-11-26 02:19:43 -05:00
|
|
|
inputs,
|
|
|
|
...
|
2024-04-17 20:29:26 -04:00
|
|
|
}: {
|
2024-03-07 03:54:42 -05:00
|
|
|
imports = [./services/greetd.nix];
|
2024-02-01 15:48:47 -05:00
|
|
|
environment = {
|
|
|
|
systemPackages = with pkgs; [
|
|
|
|
wayland
|
|
|
|
glib
|
|
|
|
grim
|
|
|
|
slurp
|
|
|
|
satty
|
|
|
|
wl-clipboard
|
|
|
|
wlr-randr
|
|
|
|
];
|
|
|
|
sessionVariables = {
|
|
|
|
GBM_BACKEND = "nvidia-drm";
|
|
|
|
__GL_GSYNC_ALLOWED = "0";
|
|
|
|
__GL_VRR_ALLOWED = "0";
|
|
|
|
WLR_DRM_NO_ATOMIC = "1";
|
|
|
|
XDG_SESSION_TYPE = "wayland";
|
|
|
|
__GLX_VENDOR_LIBRARY_NAME = "nvidia";
|
|
|
|
_JAVA_AWT_WM_NONREPARENTING = "1";
|
|
|
|
QT_QPA_PLATFORM = "wayland";
|
|
|
|
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
|
|
|
GDK_BACKEND = "wayland";
|
|
|
|
WLR_NO_HARDWARE_CURSORS = "1";
|
|
|
|
MOZ_ENABLE_WAYLAND = "1";
|
|
|
|
WLR_BACKEND = "vulkan";
|
|
|
|
WLR_RENDERER = "vulkan";
|
|
|
|
XCURSOR_SIZE = "24";
|
|
|
|
NIXOS_OZONE_WL = "1";
|
|
|
|
EDITOR = "hx";
|
|
|
|
TERMINAL = "wezterm";
|
|
|
|
};
|
|
|
|
etc."greetd/environments".text = ''
|
|
|
|
Hyprland
|
|
|
|
'';
|
|
|
|
};
|
2023-02-01 13:32:32 -05:00
|
|
|
|
|
|
|
services.dbus.enable = true;
|
|
|
|
xdg.portal = {
|
|
|
|
enable = true;
|
2023-04-05 15:00:50 -04:00
|
|
|
extraPortals = with pkgs; [
|
|
|
|
xdg-desktop-portal-gtk
|
2024-03-07 03:54:42 -05:00
|
|
|
inputs.xdg-portal-hyprland.packages.${pkgs.system}.default
|
2023-04-05 15:00:50 -04:00
|
|
|
];
|
2023-11-26 02:10:02 -05:00
|
|
|
config = {
|
|
|
|
common.default = "*";
|
|
|
|
};
|
2023-04-23 17:45:37 -04:00
|
|
|
};
|
|
|
|
}
|