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