diff --git a/sys/configuration.nix b/sys/configuration.nix index 8a8d794..06471b8 100644 --- a/sys/configuration.nix +++ b/sys/configuration.nix @@ -4,6 +4,7 @@ imports = [ ../hardware-configuration.nix + ./hyprland.nix ]; boot.loader.systemd-boot.enable = true; diff --git a/sys/hyprland.nix b/sys/hyprland.nix new file mode 100644 index 0000000..0a008b5 --- /dev/null +++ b/sys/hyprland.nix @@ -0,0 +1,28 @@ +{ pkgs, ... }: + +{ + + programs.hyprland = { + enable = true; + xwayland.enable = true; + }; + + xdg.portal.enable = true; + xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ]; + + hardware = { + opengl.enable = true; + }; + + environment.systemPackages = with pkgs; [ + (waybar.overrideAttrs (oldAttrs: { + mesonFlags = oldAttrs.mesonFlags ++ [ "-Dexperimental=true" ]; + }) + ) + dunst + libnotify + kitty + wofi + ]; + +}