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

22 lines
428 B
Nix
Raw 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;
};
programs.gnupg.agent.pinentryFlavor = "gtk2";
local.lockscreen.waylock.enable = lib.mkDefault true;
};
}