diff options
| author | Freya Murphy <freya@freyacat.org> | 2026-03-12 13:01:28 -0400 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2026-03-12 13:01:28 -0400 |
| commit | af9286f525770ce196bbf66a2da4ca9be1d34c75 (patch) | |
| tree | 161cb2ff0c129039dcf6b9389b9f64c6f3ba71c3 /system/desktops | |
| parent | thinkpad: get workin again (diff) | |
| download | dotfiles-nix-af9286f525770ce196bbf66a2da4ca9be1d34c75.tar.gz dotfiles-nix-af9286f525770ce196bbf66a2da4ca9be1d34c75.tar.bz2 dotfiles-nix-af9286f525770ce196bbf66a2da4ca9be1d34c75.zip | |
refactor some stuff
Diffstat (limited to 'system/desktops')
| -rw-r--r-- | system/desktops/hyprland.nix | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/system/desktops/hyprland.nix b/system/desktops/hyprland.nix index b0281a3..82ddf0e 100644 --- a/system/desktops/hyprland.nix +++ b/system/desktops/hyprland.nix @@ -1,8 +1,7 @@ { - inputs, - config, lib, - system, + config, + pkgs, ... }: let inherit (lib) mkIf; @@ -12,8 +11,8 @@ in { desktops.wayland.enable = true; xdg.portal = { - extraPortals = [ - inputs.hyprland.packages.${system}.xdg-desktop-portal-hyprland + extraPortals = with pkgs; [ + xdg-desktop-portal-hyprland ]; config.hyprland = { default = lib.mkForce ["gtk"]; @@ -28,8 +27,8 @@ in { programs.hyprland = { enable = true; withUWSM = true; - package = inputs.hyprland.packages.${system}.hyprland; - portalPackage = inputs.hyprland.packages.${system}.xdg-desktop-portal-hyprland; + package = pkgs.hyprland; + portalPackage = pkgs.xdg-desktop-portal-hyprland; }; }; } |