river: build from master

This commit is contained in:
Rouven Seifert 2024-03-13 16:22:01 +01:00
parent 4bd3816f34
commit 02eef8f563
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
6 changed files with 48 additions and 17 deletions

View file

@ -180,11 +180,11 @@
]
},
"locked": {
"lastModified": 1710164657,
"narHash": "sha256-l64+ZjaQAVkHDVaK0VHwtXBdjcBD6nLBD+p7IfyBp/w=",
"lastModified": 1710336510,
"narHash": "sha256-mT/Z1AseVhhiFooCu2J7wudx+FivkRrlRBW0iBC2V/o=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "017b12de5b899ef9b64e2c035ce257bfe95b8ae2",
"rev": "383296ffa45b539c28bf79ec2a272f652838ddd1",
"type": "github"
},
"original": {
@ -296,11 +296,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1709961763,
"narHash": "sha256-6H95HGJHhEZtyYA3rIQpvamMKAGoa8Yh2rFV29QnuGw=",
"lastModified": 1710272261,
"narHash": "sha256-g0bDwXFmTE7uGDOs9HcJsfLFhH7fOsASbAuOzDC+fhQ=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "3030f185ba6a4bf4f18b87f345f104e6a6961f34",
"rev": "0ad13a6833440b8e238947e47bea7f11071dc2b2",
"type": "github"
},
"original": {
@ -411,6 +411,24 @@
"type": "github"
}
},
"river": {
"flake": false,
"locked": {
"lastModified": 1710341821,
"narHash": "sha256-cWFJv5QUmcBqnJGk9twjcndk3/dIAEZ5tOKVhRhQhAg=",
"ref": "refs/heads/master",
"rev": "fecfa89a9a8ba1d9704b4d07fe02c16cd20a1644",
"revCount": 1172,
"submodules": true,
"type": "git",
"url": "https://github.com/riverwm/river"
},
"original": {
"submodules": true,
"type": "git",
"url": "https://github.com/riverwm/river"
}
},
"root": {
"inputs": {
"agenix": "agenix",
@ -422,6 +440,7 @@
"nixpkgs": "nixpkgs",
"pfersel": "pfersel",
"purge": "purge",
"river": "river",
"trucksimulatorbot": "trucksimulatorbot"
}
},

View file

@ -43,6 +43,13 @@
inputs.nixpkgs.follows = "nixpkgs";
};
river = {
url = "https://github.com/riverwm/river";
flake = false;
type = "git";
submodules = true;
};
};
outputs =
@ -57,6 +64,7 @@
, purge
, trucksimulatorbot
, pfersel
, river
, ...
}@attrs: {
packages.x86_64-linux = {

View file

@ -1,4 +1,4 @@
{ config, ... }:
{ config, pkgs, ... }:
{
imports =
@ -58,10 +58,6 @@
blueman.enable = true; # bluetooth
devmon.enable = true; # automount stuff
upower.enable = true;
avahi = {
enable = true;
nssmdns4 = true;
};
fwupd.enable = true; # firmware updates
zfs.autoScrub.enable = true;
};
@ -96,5 +92,6 @@
dev.enable = true;
man.generateCaches = true;
};
environment.systemPackages = [ pkgs.man-pages ];
system.stateVersion = "22.11";
}

View file

@ -1,11 +1,11 @@
{ ... }:
{ pkgs, ... }:
{
programs.gnupg = {
dirmngr.enable = true;
agent = {
enable = true;
enableSSHSupport = true;
pinentryFlavor = "gnome3";
pinentryPackage = pkgs.pinentry-gnome3;
};
};
services.pcscd.enable = true;

View file

@ -58,7 +58,7 @@
# global wrapper for ausweisapp
programs.ausweisapp = {
enable = true;
openFirewall = true;
# openFirewall = true;
};
# home manager steam is borderline broken
programs.steam.enable = true;

View file

@ -1,8 +1,16 @@
{ pkgs, lib, ... }:
{ pkgs, lib, river, ... }:
{
wayland.windowManager.river = {
enable = true;
systemd.extraCommands = [ "systemctl --user start river-session.target" ];
package = with pkgs; pkgs.river.overrideAttrs (old: {
src = river;
buildInputs = lib.lists.remove wlroots_0_16 old.buildInputs ++ [
(wlroots.overrideAttrs (_: {
version = "0.17.2";
}))
];
});
systemd. extraCommands = [ "systemctl --user start river-session.target" ];
settings = {
focus-follows-cursor = "always";
set-cursor-warp = "on-focus-change";
@ -30,7 +38,6 @@
K = "focus-view next";
L = "focus-output next";
O = "send-to-output next";
S = "send-to-output next";
};
"Super+Shift" = {
Return = "zoom";