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

22 lines
441 B
Nix
Raw Permalink Normal View History

2024-04-23 18:17:06 +03:00
{ 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;
};
2024-06-03 00:08:07 +03:00
programs.gnupg.agent.pinentryPackage = pkgs.pinentry-gtk2;
2024-04-23 18:17:06 +03:00
local.lockscreen.waylock.enable = lib.mkDefault true;
};
}