feat: fuck hyprland until they fix their shit

This commit is contained in:
Nick 2025-02-01 19:13:39 -06:00
parent 2c2c38225a
commit a4afc18937
13 changed files with 337 additions and 98 deletions

View file

@ -0,0 +1,19 @@
{ pkgs, ... }:
{
hardware = {
bluetooth = {
enable = true;
package = pkgs.bluez;
powerOnBoot = true;
settings = {
General = {
Experimental = true;
};
};
disabledPlugins = [
"sap"
];
};
};
services.blueman.enable = true;
}

View file

@ -1,5 +1,6 @@
{
imports = map (file: ./${file}.nix) [
"bluetooth"
"geoclue2"
"greetd"
"network"
@ -10,13 +11,4 @@
"thunar"
"wayland"
];
environment = {
variables = {
WLR_NO_HARDWARE_CURSORS = "1";
WLR_DRM_NO_ATOMIC = "1";
FLAMESHOT_ENABLE_WAYLAND = "1";
USE_WAYLAND_GRIM = "1";
USE_WAYLAND_CLIPBOARD = "1";
};
};
}

View file

@ -1,18 +1,14 @@
{
pkgs,
# flake,
flake,
...
}: {
}:
{
programs.hyprland = {
enable = true;
xwayland.enable = true;
# package = flake.inputs.hyprland.packages.${pkgs.system}.hyprland;
};
xdg.portal = {
enable = true;
extraPortals = [
pkgs.xdg-desktop-portal-gtk
];
package = flake.inputs.hyprland.packages.${pkgs.system}.hyprland;
portalPackage = flake.inputs.hyprland-portal.packages.${pkgs.system}.xdg-desktop-portal-hyprland;
};
nix = {
settings = {
@ -24,4 +20,13 @@
];
};
};
environment = {
variables = {
WLR_NO_HARDWARE_CURSORS = "1";
WLR_DRM_NO_ATOMIC = "1";
FLAMESHOT_ENABLE_WAYLAND = "1";
USE_WAYLAND_GRIM = "1";
USE_WAYLAND_CLIPBOARD = "1";
};
};
}

View file

@ -1,20 +1,22 @@
{ pkgs, ... }:
{ pkgs, flake, ... }:
{
environment.sessionVariables.NIXOS_OZONE_WL = "1";
xdg = {
portal = {
enable = true;
extraPortals = builtins.attrValues {
inherit (pkgs)
xdg-desktop-portal-hyprland
xdg-desktop-portal-wlr
# xdg-desktop-portal-kde
xdg-desktop-portal-gtk
;
};
wlr.enable = true;
xdgOpenUsePortal = true;
extraPortals = builtins.attrValues {
inherit (pkgs)
xdg-desktop-portal-wlr
xdg-desktop-portal-gtk
;
inherit (pkgs.kdePackages)
xdg-desktop-portal-kde
;
};
};
};
}