mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 21:01:34 +01:00
20 lines
355 B
Nix
20 lines
355 B
Nix
{
|
|
config,
|
|
pkgs-unstable,
|
|
lib,
|
|
...
|
|
}:
|
|
{
|
|
options.custom.de.hyprland.enable = lib.mkEnableOption "";
|
|
|
|
config = lib.mkIf config.custom.de.hyprland.enable {
|
|
programs.hyprland = {
|
|
enable = true;
|
|
package = pkgs-unstable.hyprland;
|
|
};
|
|
|
|
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
|
|
|
services.gvfs.enable = true;
|
|
};
|
|
}
|