system/modules/nixos/configs/window-manager/river.nix

21 lines
441 B
Nix

{ config, lib, pkgs, ... }:
let
cfg = config.local.window-manager.river;
in
{
options.local.window-manager.river = with lib; {
enable = mkEnableOption "river window manager";
};
config = lib.mkIf cfg.enable {
programs.river = {
enable = true;
package = pkgs.unstable.river;
};
programs.gnupg.agent.pinentryPackage = pkgs.pinentry-gtk2;
local.lockscreen.waylock.enable = lib.mkDefault true;
};
}