sway on nvidia + ironbar

This commit is contained in:
atagen 2023-08-10 14:50:31 +10:00
parent 362d12714c
commit 481e682fbf
16 changed files with 830 additions and 655 deletions

View file

@ -1,6 +1,6 @@
{inputs, ...}: {
additions = final: _prev: import ./pkgs {pkgs = final;};
pkg-sets = final: _prev: {
pkg-sets = final: prev: {
unstable = import inputs.nixpkgs {
system = final.system;
config.allowUnfree = true;
@ -12,4 +12,11 @@
};
rice = import ./rice.nix;
podman-stable = final: prev: {podman-stable = final.stable.podman;};
wlroots = final: prev: {
wlroots = final.unstable.wlroots_0_16.overrideAttrs (wfinal: wprev: {
postPatch = wprev.postPatch + ''substituteInPlace render/gles2/renderer.c --replace "glFlush();" "glFinish();"'';
});
};
sway-unwrapped = final: prev: {sway-unwrapped = final.unstable.sway-unwrapped.override {wlroots = final.wlroots;};};
sway = final: prev: {sway = final.unstable.sway.override {sway-unwrapped = final.sway-unwrapped;};};
}