wip(home): refactor home modules *WILL NOT BUILD*

This commit is contained in:
ooks-io 2024-06-04 21:19:35 +12:00
parent 2033810429
commit 6a591ecbf7
115 changed files with 1028 additions and 791 deletions

View file

@ -1,14 +1,5 @@
{ lib, ... }:
{
imports = [
./mako
#./dunst -- still needs to be implemented
./mako.nix
];
options.ooknet.desktop.wayland.notification = {
mako = {
enable = lib.mkEnableOption "Enable mako notification daemon";
};
};
}

View file

@ -1,10 +1,14 @@
{ config, lib, ... }:
let
inherit (config.colorscheme) palette variant;
fonts = config.ooknet.theme.fonts;
cfg = config.ooknet.desktop.wayland.notification.mako;
in {
config = lib.mkIf cfg.enable {
inherit (lib) mkIf;
fonts = config.ooknet.fonts;
wayland = config.ooknet.wayland;
in
{
config = mkIf (wayland.notification == "mako") {
services.mako = {
enable = true;
iconPath =