Fix discord

This commit is contained in:
SebastianStork 2025-03-26 16:25:36 +01:00
parent fad8b9518d
commit 6ff9a2158c
5 changed files with 43 additions and 8 deletions

View file

@ -1,11 +1,15 @@
{
config,
inputs,
pkgs,
pkgs-unstable,
lib,
...
}@moduleArgs:
{
# Use unstable hyprland module for nullable package
disabledModules = [ "services/window-managers/hyprland.nix" ];
imports = [ "${inputs.home-manager-unstable}/modules/services/window-managers/hyprland.nix" ];
options.myConfig.de.hyprland.enable = lib.mkEnableOption "" // {
default = moduleArgs.osConfig.myConfig.de.hyprland.enable or false;
};
@ -13,7 +17,8 @@
config = lib.mkIf config.myConfig.de.hyprland.enable {
wayland.windowManager.hyprland = {
enable = true;
package = pkgs-unstable.hyprland;
package = null;
portalPackage = null;
};
home.packages = [

View file

@ -8,10 +8,14 @@
options.myConfig.de.hyprland.enable = lib.mkEnableOption "";
config = lib.mkIf config.myConfig.de.hyprland.enable {
programs.hyprland = {
enable = true;
package = pkgs-unstable.hyprland;
portalPackage = pkgs-unstable.xdg-desktop-portal-hyprland;
programs = {
hyprland = {
enable = true;
package = pkgs-unstable.hyprland;
portalPackage = pkgs-unstable.xdg-desktop-portal-hyprland;
};
xwayland.package = pkgs-unstable.xwayland;
};
hardware.graphics = {