source hyprland from nixpkgs not flake dependency

also implements recommendation that hyprland.withUSWM be enabled
This commit is contained in:
Emile Clark-Boman 2025-07-29 14:09:56 +10:00
parent da63d4a2be
commit 0a231108eb
3 changed files with 2 additions and 11 deletions

View file

@ -11,9 +11,6 @@
grub2-themes.url = "github:vinceliuice/grub2-themes";
# is this necessary? (aren't I enabling it in `configuration.nix` anyways?)
hyprland.url = "github:hyprwm/Hyprland";
ags.url = "github:Aylur/ags";
colmena.url = "github:zhaofengli/colmena/?rev=47b6414d800c8471e98ca072bc0835345741a56a";

View file

@ -291,13 +291,10 @@ in {
prismlauncher # minecraft
];
# Enable the use of certain programs
programs = {
hyprland = {
enable = true;
#package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
#portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
withUWSM = true; # Universal Wayland Session Manager
xwayland.enable = true;
};

View file

@ -261,10 +261,7 @@ in {
programs = {
hyprland = {
enable = true;
# TODO: uncomment, I did this when hyprland wasn't working
#package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
#portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
withUWSM = true; # Universal Wayland Session Manager
xwayland.enable = true;
};