mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 18:41:34 +01:00
Fix discord
This commit is contained in:
parent
fad8b9518d
commit
6ff9a2158c
5 changed files with 43 additions and 8 deletions
|
|
@ -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 = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue