diff --git a/generator.nix b/generator.nix index d99be63..ba38943 100755 --- a/generator.nix +++ b/generator.nix @@ -27,7 +27,7 @@ syscfg { usercfg = userConfig; } inputs.nix-colors.homeManagerModule - inputs.hyprland.homeManagerModules + inputs.hyprland.homeManagerModules.default ]; }) syscfg.syscfg.users); } diff --git a/modules/nixos/system/xdg/default.nix b/modules/nixos/system/xdg/default.nix index 3492d40..4dd7009 100644 --- a/modules/nixos/system/xdg/default.nix +++ b/modules/nixos/system/xdg/default.nix @@ -1,6 +1,5 @@ -{ pkgs, ... }: { +{ config, lib, pkgs, ... }: { - config = lib.mkIf (config.syscfg.make.gui) { xdg.portal = { enable = true; # wlr.enable = true; @@ -10,7 +9,6 @@ ]; config.common.default = [ "hyprland" "gtk" ]; }; - }; environment.sessionVariables = rec { GBM_BACKEND = "amd-drm";