feat: use git river version

nixos
Moritz Böhme 2024-03-24 13:16:27 +01:00
parent 006c4394f3
commit c02b5c01e5
Signed by: moritz
GPG Key ID: 970C6E89EB0547A9
3 changed files with 39 additions and 0 deletions

View File

@ -1071,6 +1071,24 @@
"type": "github"
}
},
"river": {
"flake": false,
"locked": {
"lastModified": 1711107438,
"narHash": "sha256-4nvFniKdJX+ZsoliFmWSzIAtZefekBCxmGS9xonHQN8=",
"ref": "refs/heads/master",
"rev": "b77b42f0d640457411204bbae346df1d1a0c4f44",
"revCount": 1214,
"submodules": true,
"type": "git",
"url": "https://github.com/riverwm/river"
},
"original": {
"submodules": true,
"type": "git",
"url": "https://github.com/riverwm/river"
}
},
"root": {
"inputs": {
"actions-preview-nvim": "actions-preview-nvim",
@ -1099,6 +1117,7 @@
"nur": "nur",
"nvim-lspconfig": "nvim-lspconfig",
"pre-commit-hooks": "pre-commit-hooks",
"river": "river",
"smartcolumn-nvim": "smartcolumn-nvim",
"stable": "stable",
"statuscol-nvim": "statuscol-nvim",

View File

@ -48,6 +48,10 @@
hawtkeys-nvim.flake = false;
hawtkeys-nvim.url = "github:tris203/hawtkeys.nvim";
# river
river.url = "git+https://github.com/riverwm/river?submodules=1";
river.flake = false;
# Hyprland
hypr-contrib.url = "github:hyprwm/contrib";
hyprland.url = "github:hyprwm/Hyprland";

View File

@ -47,6 +47,22 @@ in
# enable home-manager module
wayland.windowManager.river = {
enable = true;
package = pkgs.river.overrideAttrs (old: {
src = inputs.river;
version = lib.my.mkVersionInput inputs.river;
# HACK: to change wlroots to 0.17.x
buildInputs = with pkgs; [
libGL
libevdev
libinput
libxkbcommon
pixman
udev
wayland-protocols
wlroots_0_17
xorg.libX11
];
});
settings = {
border-width = 2;
declare-mode = [