20 lines
377 B
Nix
20 lines
377 B
Nix
{ lib, config, ... }:
|
|
|
|
let
|
|
inherit (lib) mkIf;
|
|
desktop = config.ooknet.desktop;
|
|
in
|
|
|
|
{
|
|
config = mkIf (desktop.environment == "hyprland") {
|
|
ooknet.wayland = {
|
|
enable = true;
|
|
compositor = "hyprland";
|
|
launcher = "rofi";
|
|
locker = "hyprlock";
|
|
notification = "mako";
|
|
bar = "waybar";
|
|
};
|
|
ooknet.security.polkit = "pantheon";
|
|
};
|
|
}
|