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": { "locked": {
"lastModified": 1710164657, "lastModified": 1710336510,
"narHash": "sha256-l64+ZjaQAVkHDVaK0VHwtXBdjcBD6nLBD+p7IfyBp/w=", "narHash": "sha256-mT/Z1AseVhhiFooCu2J7wudx+FivkRrlRBW0iBC2V/o=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "017b12de5b899ef9b64e2c035ce257bfe95b8ae2", "rev": "383296ffa45b539c28bf79ec2a272f652838ddd1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -296,11 +296,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1709961763, "lastModified": 1710272261,
"narHash": "sha256-6H95HGJHhEZtyYA3rIQpvamMKAGoa8Yh2rFV29QnuGw=", "narHash": "sha256-g0bDwXFmTE7uGDOs9HcJsfLFhH7fOsASbAuOzDC+fhQ=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "3030f185ba6a4bf4f18b87f345f104e6a6961f34", "rev": "0ad13a6833440b8e238947e47bea7f11071dc2b2",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -411,6 +411,24 @@
"type": "github" "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": { "root": {
"inputs": { "inputs": {
"agenix": "agenix", "agenix": "agenix",
@ -422,6 +440,7 @@
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"pfersel": "pfersel", "pfersel": "pfersel",
"purge": "purge", "purge": "purge",
"river": "river",
"trucksimulatorbot": "trucksimulatorbot" "trucksimulatorbot": "trucksimulatorbot"
} }
}, },

View file

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

View file

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

View file

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

View file

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

View file

@ -1,8 +1,16 @@
{ pkgs, lib, ... }: { pkgs, lib, river, ... }:
{ {
wayland.windowManager.river = { wayland.windowManager.river = {
enable = true; 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 = { settings = {
focus-follows-cursor = "always"; focus-follows-cursor = "always";
set-cursor-warp = "on-focus-change"; set-cursor-warp = "on-focus-change";
@ -30,7 +38,6 @@
K = "focus-view next"; K = "focus-view next";
L = "focus-output next"; L = "focus-output next";
O = "send-to-output next"; O = "send-to-output next";
S = "send-to-output next";
}; };
"Super+Shift" = { "Super+Shift" = {
Return = "zoom"; Return = "zoom";