forked from pub-solar/os
overlays: add wf-recorder ffmpeg fix, remove sway,
graphical: hardware.opengl renamed to hardware.graphics
This commit is contained in:
parent
35caff9c1e
commit
c95e0680e6
|
@ -26,7 +26,7 @@ in
|
|||
};
|
||||
|
||||
config = {
|
||||
hardware.opengl.enable = true;
|
||||
hardware.graphics.enable = true;
|
||||
|
||||
environment = {
|
||||
systemPackages = with pkgs; [
|
||||
|
|
|
@ -36,8 +36,8 @@
|
|||
(import ./mdbook-multilang.nix inputs)
|
||||
(import ./nix-index.nix)
|
||||
(import ./prr.nix)
|
||||
(import ./sway.nix inputs)
|
||||
(import ./neovim-plugins.nix)
|
||||
(import ./wf-recorder.nix)
|
||||
];
|
||||
}
|
||||
);
|
||||
|
|
|
@ -1,28 +0,0 @@
|
|||
inputs: final: prev:
|
||||
let
|
||||
unstable = import inputs.unstable {
|
||||
system = prev.system;
|
||||
};
|
||||
in
|
||||
{
|
||||
sway-unwrapped =
|
||||
(unstable.sway-unwrapped.override { wlroots = unstable.wlroots_0_18; }).overrideAttrs
|
||||
(
|
||||
finalAttrs: prevAttrs: {
|
||||
version = "1.10";
|
||||
src = prevAttrs.src.override {
|
||||
hash = "sha256-PzeU/niUdqI6sf2TCG19G2vNgAZJE5JCyoTwtO9uFTk=";
|
||||
};
|
||||
|
||||
mesonFlags =
|
||||
let
|
||||
inherit (final.lib.strings) mesonEnable mesonOption;
|
||||
sd-bus-provider = if finalAttrs.systemdSupport then "libsystemd" else "basu";
|
||||
in
|
||||
[
|
||||
(mesonOption "sd-bus-provider" sd-bus-provider)
|
||||
(mesonEnable "tray" finalAttrs.trayEnabled)
|
||||
];
|
||||
}
|
||||
);
|
||||
}
|
12
overlays/wf-recorder.nix
Normal file
12
overlays/wf-recorder.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
final: prev: {
|
||||
wf-recorder = prev.wf-recorder.overrideAttrs (oldAttrs: rec {
|
||||
inherit (oldAttrs) pname;
|
||||
src = prev.fetchFromGitHub {
|
||||
owner = "ammen99";
|
||||
repo = pname;
|
||||
rev = "560bb92d3ddaeb31d7af77d22d01b0050b45bebe";
|
||||
hash = "sha256-goWNRg286Cp6UUqyJyqk7UysumMCt9GtNpF7O5ahKtI=";
|
||||
};
|
||||
version = "unstable-2024-11-05";
|
||||
});
|
||||
}
|
Loading…
Reference in a new issue