mirror of
https://github.com/youwen5/liminalOS.git
synced 2025-08-04 11:38:29 -07:00
fix: belt and road initiative patches
imported from quasaros
This commit is contained in:
parent
16bcf4b85a
commit
dbe40bba69
4 changed files with 10 additions and 62 deletions
|
@ -53,7 +53,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
apple-firmware = {
|
apple-firmware = {
|
||||||
url = "github:youwen5/apple-firmware";
|
url = "github:binary-star-systems/apple-firmware";
|
||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -126,6 +126,12 @@
|
||||||
inputs.flake-utils.follows = "flake-utils";
|
inputs.flake-utils.follows = "flake-utils";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Use latest Hyprscroller plugin
|
||||||
|
hyprscroller = {
|
||||||
|
url = "github:cpiber/hyprscroller";
|
||||||
|
inputs.hyprland.follows = "hyprland";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs =
|
outputs =
|
||||||
|
@ -196,6 +202,7 @@
|
||||||
inputs.stylix.nixosModules.stylix
|
inputs.stylix.nixosModules.stylix
|
||||||
inputs.agenix.nixosModules.age
|
inputs.agenix.nixosModules.age
|
||||||
inputs.musnix.nixosModules.musnix
|
inputs.musnix.nixosModules.musnix
|
||||||
|
inputs.hyprscroller.nixosModules.hyprscroller
|
||||||
inputs.nur.modules.nixos.default
|
inputs.nur.modules.nixos.default
|
||||||
./modules/default.nix
|
./modules/default.nix
|
||||||
./overlays
|
./overlays
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
|
inputs,
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
osConfig,
|
osConfig,
|
||||||
|
@ -84,7 +85,7 @@ in
|
||||||
|
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
plugins = [ pkgs.hyprlandPlugins.hyprscroller ];
|
plugins = [ inputs.hyprscroller.packages.x86_64-linux.hyprscroller ];
|
||||||
settings = {
|
settings = {
|
||||||
exec-once = [
|
exec-once = [
|
||||||
"hyprctl dispatch workspace 100000"
|
"hyprctl dispatch workspace 100000"
|
||||||
|
|
|
@ -1,59 +0,0 @@
|
||||||
{
|
|
||||||
lib,
|
|
||||||
fetchFromGitHub,
|
|
||||||
hyprland,
|
|
||||||
pkg-config,
|
|
||||||
cmake,
|
|
||||||
unstableGitUpdater,
|
|
||||||
}:
|
|
||||||
let
|
|
||||||
mkHyprlandPlugin =
|
|
||||||
hyprland:
|
|
||||||
args@{ pluginName, ... }:
|
|
||||||
hyprland.stdenv.mkDerivation (
|
|
||||||
args
|
|
||||||
// {
|
|
||||||
pname = "${pluginName}";
|
|
||||||
nativeBuildInputs = [ pkg-config ] ++ args.nativeBuildInputs or [ ];
|
|
||||||
buildInputs = [ hyprland ] ++ hyprland.buildInputs ++ (args.buildInputs or [ ]);
|
|
||||||
meta = args.meta // {
|
|
||||||
description = args.meta.description or "";
|
|
||||||
longDescription =
|
|
||||||
(args.meta.longDescription or "")
|
|
||||||
+ "\n\nPlugins can be installed via a plugin entry in the Hyprland NixOS or Home Manager options.";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
);
|
|
||||||
in
|
|
||||||
mkHyprlandPlugin hyprland {
|
|
||||||
pluginName = "hyprscroller";
|
|
||||||
version = "0-unstable-2025-05-16";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "cpiber";
|
|
||||||
repo = "hyprscroller";
|
|
||||||
rev = "de97924b6d1086d84939b6f6688637f7b21d8d80";
|
|
||||||
hash = "sha256-m9689UH+w8Z/qP/DKYtzQfIGfiE4jgBAfO+uH34cfNs=";
|
|
||||||
};
|
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
|
||||||
|
|
||||||
installPhase = ''
|
|
||||||
runHook preInstall
|
|
||||||
|
|
||||||
mkdir -p $out/lib
|
|
||||||
mv hyprscroller.so $out/lib/libhyprscroller.so
|
|
||||||
|
|
||||||
runHook postInstall
|
|
||||||
'';
|
|
||||||
|
|
||||||
passthru.updateScript = unstableGitUpdater { };
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = "https://github.com/cpiber/hyprscroller";
|
|
||||||
description = "Hyprland layout plugin providing a scrolling layout like PaperWM";
|
|
||||||
license = lib.licenses.mit;
|
|
||||||
maintainers = with lib.maintainers; [ youwen5 ];
|
|
||||||
platforms = lib.platforms.linux;
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -4,5 +4,4 @@ let
|
||||||
in
|
in
|
||||||
final: prev: {
|
final: prev: {
|
||||||
wine-discord-ipc-bridge = callPackage ./by-name/wine-discord-ipc-bridge { };
|
wine-discord-ipc-bridge = callPackage ./by-name/wine-discord-ipc-bridge { };
|
||||||
hyprlandPlugins.hyprscroller = callPackage ./by-name/hyprscroller { };
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue