Move hyprland config to de/hyprland.nix

This commit is contained in:
SebastianStork 2024-08-14 22:32:57 +02:00
parent 8cc1a65fd8
commit a450e6119a

View file

@ -0,0 +1,22 @@
{
config,
pkgs,
lib,
...
}:
{
options.myConfig.de.hyprland.enable = lib.mkEnableOption "";
config = lib.mkIf config.myConfig.de.hyprland.enable {
programs.hyprland.enable = true;
environment.sessionVariables.NIXOS_OZONE_WL = "1";
xdg.portal = {
enable = true;
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
};
services.gvfs.enable = true;
};
}