wip(home): refactor home modules *WILL NOT BUILD*
This commit is contained in:
parent
2033810429
commit
6a591ecbf7
115 changed files with 1028 additions and 791 deletions
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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 =
|
||||
Loading…
Add table
Add a link
Reference in a new issue