mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-07 20:06:00 +01:00
Nix/module: fix system when config.allowAlias is false
This commit is contained in:
parent
19c4855afc
commit
78fa8adadc
1 changed files with 4 additions and 3 deletions
|
@ -6,9 +6,10 @@ inputs: {
|
||||||
}:
|
}:
|
||||||
with lib; let
|
with lib; let
|
||||||
cfg = config.programs.hyprland;
|
cfg = config.programs.hyprland;
|
||||||
|
inherit (pkgs.stdenv.hostPlatform) system;
|
||||||
|
|
||||||
finalPortalPackage = cfg.portalPackage.override {
|
finalPortalPackage = cfg.portalPackage.override {
|
||||||
hyprland-share-picker = inputs.xdph.packages.${pkgs.system}.hyprland-share-picker.override {
|
hyprland-share-picker = inputs.xdph.packages.${system}.hyprland-share-picker.override {
|
||||||
hyprland = cfg.finalPackage;
|
hyprland = cfg.finalPackage;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -30,7 +31,7 @@ in {
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
package = mkPackageOptionMD inputs.self.packages.${pkgs.system} "hyprland" { };
|
package = mkPackageOptionMD inputs.self.packages.${system} "hyprland" { };
|
||||||
|
|
||||||
finalPackage = mkOption {
|
finalPackage = mkOption {
|
||||||
type = types.package;
|
type = types.package;
|
||||||
|
@ -47,7 +48,7 @@ in {
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
portalPackage = mkPackageOptionMD inputs.xdph.packages.${pkgs.system} "xdg-desktop-portal-hyprland" {};
|
portalPackage = mkPackageOptionMD inputs.xdph.packages.${system} "xdg-desktop-portal-hyprland" {};
|
||||||
|
|
||||||
xwayland.enable = mkEnableOption (mdDoc "support for XWayland") // {default = true;};
|
xwayland.enable = mkEnableOption (mdDoc "support for XWayland") // {default = true;};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue