fixed hyprland collision

This commit is contained in:
specCon18 2023-08-15 22:40:24 -04:00
parent 08ee0b7d56
commit 4ae96c2a65
5 changed files with 11 additions and 91 deletions

View file

@ -1,7 +1,7 @@
{ pkgs, config, lib, ...}:
{
wayland.windowManager.hyprland = {
# systemdIntegration = true;
# systemdIntegration = true;
enable = true;
extraConfig = ''
bind = SUPER, Return, exec, alacritty

View file

@ -47,7 +47,7 @@ in {
};
xdg = {
portal = { enable = lib.mkDefault true; };
# portal = { enable = lib.mkDefault true; };
mime.defaultApplications = {
"text/markdown" = "hx";
};

View file

@ -1,9 +1,5 @@
{
config,
pkgs,
lib,
...
}: let
{ config, pkgs, lib, ...}:
let
inherit (lib) mkEnableOption mkIf;
cfg = config.speccon18.desktop.hyprland;
in {
@ -13,7 +9,7 @@ in {
config = mkIf cfg.enable {
programs.hyprland = {
enable = true;
enableNvidiaPatches = true;
nvidiaPatches = true;
xwayland.enable = true;
};
environment = {
@ -28,6 +24,7 @@ in {
rofi-wayland
libnotify
mako
hyprland
];
sessionVariables = {
WLR_NO_HARDWARE_CURSORS = "1";
@ -37,8 +34,8 @@ in {
xdg.portal = {
enable = true;
extraPortals = [
pkgs.xdg-desktop-portal-hyprland
pkgs.xdg-desktop-portal-gtk
pkgs.xdg-desktop-portal-hyprland
];
};
hardware = {