mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 18:41:34 +01:00
25 lines
449 B
Nix
25 lines
449 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}:
|
|
{
|
|
options.myConfig.de.hyprland.enable = lib.mkEnableOption "";
|
|
|
|
config = lib.mkIf config.myConfig.de.hyprland.enable {
|
|
programs.hyprland.enable = true;
|
|
|
|
environment.sessionVariables = {
|
|
WLR_NO_HARDWARE_CURSORS = "1";
|
|
NIXOS_OZONE_WL = "1";
|
|
};
|
|
|
|
xdg.portal = {
|
|
enable = true;
|
|
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
|
};
|
|
|
|
services.gvfs.enable = true;
|
|
};
|
|
}
|