right hyprland package for allegro and add pkgs-unstable to flake

This commit is contained in:
Antoine Vaure 2024-10-21 01:16:56 +02:00 committed by ant
parent 9e882a4bb4
commit 8795542df7
2 changed files with 7 additions and 7 deletions

View file

@ -14,6 +14,7 @@
let
system = "x86_64-linux";
pkgs = inputs.nixpkgs.legacyPackages.${system};
pkgs-unstable = pkgs;
pkgs-24_05 = inputs.nixpkgs-24_05.legacyPackages.${system};
username = "ant";
@ -23,11 +24,10 @@
inherit pkgs;
extraSpecialArgs = {
# configure here
variant = variant;
username = username;
pkgs-24_05 = pkgs-24_05;
inherit pkgs-unstable;
inherit variant;
inherit username;
inherit pkgs-24_05;
};
modules = [

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, pkgs-24_05, variant, ... }: {
{ config, lib, pkgs, pkgs-unstable, pkgs-24_05, variant, ... }: {
home.packages = with pkgs; [ xdg-desktop-portal-hyprland ];
home.sessionVariables = {
@ -16,7 +16,7 @@
wayland.windowManager.hyprland = {
enable = true;
package = if variant == "allegro" then pkgs-24_05.hyprland else pkgs.hyprland;
package = if variant == "allegro" then pkgs.hyprland else pkgs-unstable.hyprland;
xwayland.enable = true;