This commit is contained in:
2026-03-18 11:04:59 +00:00
parent 2797bfee0e
commit d37e468ae8
3 changed files with 49 additions and 15 deletions

View File

@@ -1,6 +1,7 @@
{
modules,
inputs,
lib,
...
}:
{
@@ -17,6 +18,7 @@
grim
slurp
wlogout
ranger
];
programs.xwayland.enable = true;
programs.hyprland = {
@@ -28,9 +30,13 @@
portalPackage =
inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
};
# gtk.enable = lib.mkForce false;
xdg.portal = {
enable = true;
# extraPortals = [ pkgs.xdg-desktop-portal-cosmic ];
enable = lib.mkForce false;
extraPortals = [
pkgs.xdg-desktop-portal-termfilechooser
inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland
];
};
environment.sessionVariables.NIXOS_OZONE_WL = "1";
hardware.graphics = {
@@ -44,6 +50,9 @@
homeManager =
{ pkgs, ... }:
{
gtk = {
enable = true;
};
wayland.windowManager.hyprland = {
enable = true;
systemd.variables = [ "--all" ];