add xwayland disabling support to flake.nix

This commit is contained in:
Tanish2002
2022-05-08 23:48:13 +05:30
parent 2342b6a10f
commit 7c6fc3c6ad
3 changed files with 33 additions and 15 deletions

View File

@@ -10,13 +10,10 @@
outputs = { self, nixpkgs, utils, nixpkgs-wayland }:
utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
version = "git";
let pkgs = nixpkgs.legacyPackages.${system};
in rec {
packages = {
hyprland = pkgs.callPackage self {
inherit version;
src = self;
inherit (nixpkgs-wayland.packages.${system}) wlroots;
};