niri: remove new-swww
This commit is contained in:
parent
7f5c2c7875
commit
a2e77e2498
1 changed files with 1 additions and 24 deletions
|
@ -1,37 +1,15 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
inputs,
|
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (lib.modules) mkForce mkIf;
|
inherit (lib.modules) mkForce mkIf;
|
||||||
inherit (lib.options) mkEnableOption;
|
inherit (lib.options) mkEnableOption;
|
||||||
|
|
||||||
inherit (config.modules.system) isGraphical;
|
inherit (config.modules.system) isGraphical;
|
||||||
|
|
||||||
cfg = config.modules.desktops.niri;
|
cfg = config.modules.desktops.niri;
|
||||||
|
|
||||||
latestNightly = (inputs.rust-overlay.lib.mkRustBin {} pkgs).nightly.latest.default;
|
|
||||||
rustPlatform = pkgs.makeRustPlatform {
|
|
||||||
rustc = latestNightly;
|
|
||||||
cargo = latestNightly;
|
|
||||||
stdenv = pkgs.clangStdenv;
|
|
||||||
};
|
|
||||||
|
|
||||||
new-swww = (pkgs.swww.override {inherit rustPlatform;}).overrideAttrs (prev: {
|
|
||||||
src = pkgs.fetchFromGitHub {
|
|
||||||
inherit (prev.src) owner repo;
|
|
||||||
rev = "805a355da574fed46e664606660e2499f02e2174";
|
|
||||||
hash = "sha256-+sdV7NFueCeBLrsl7lrqzlG5tPNqDe/zlcIb8TYxQl8=";
|
|
||||||
};
|
|
||||||
doInstallCheck = false;
|
|
||||||
|
|
||||||
cargoDeps = pkgs.rustPlatform.fetchCargoVendor {
|
|
||||||
inherit (new-swww) src;
|
|
||||||
hash = "sha256-YH2gcy/8EtUmTHzwt38bBOFX3saN1wHIGQ5/eWqvSeM=";
|
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
||||||
patched-niri = pkgs.niri.overrideAttrs (prev: {
|
patched-niri = pkgs.niri.overrideAttrs (prev: {
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
inherit (prev.src) owner repo;
|
inherit (prev.src) owner repo;
|
||||||
|
@ -68,7 +46,6 @@ in {
|
||||||
|
|
||||||
environment.systemPackages = builtins.attrValues {
|
environment.systemPackages = builtins.attrValues {
|
||||||
inherit (pkgs) xwayland-satellite avizo playerctl;
|
inherit (pkgs) xwayland-satellite avizo playerctl;
|
||||||
inherit new-swww;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue