mv mako to module
All checks were successful
nix flake show / show-flake (push) Successful in 34s

This commit is contained in:
smayzy 2025-07-29 18:05:45 +02:00
parent f48152ff7a
commit 614a10248f
9 changed files with 51 additions and 11 deletions

View File

@ -1,5 +0,0 @@
font=JetBrainsMono 10
background-color=#282828
text-color=#ebdbb2
border-color=#98971a
border-size=2

View File

@ -2,6 +2,7 @@
{
imports = [
./lf
./notif
./terminal
./wm/hyprland.nix
];

View File

@ -0,0 +1,6 @@
{ ... }:
{
imports = [
./mako.nix
];
}

View File

@ -0,0 +1,18 @@
{ lib, smayzy, ... }:
let
inherit (lib) mkIf;
in
{
config = mkIf smayzy.mako.enable {
services.mako = {
enable = true;
settings = {
font="JetBrainsMono 10";
background-color="#282828";
text-color="#ebdbb2";
border-color="#98971a";
border-size=2;
};
};
};
}

View File

@ -1,6 +1,5 @@
{
lib,
config,
pkgs,
smayzy,
...
@ -13,10 +12,6 @@ in
home.file = lib.mkMerge [
{
".config/mako/config" = {
source = builtins.toPath ../../../dotfiles/mako/config;
force = true;
};
".config/wofi" = {
source = builtins.toPath ../../../dotfiles/wofi;
recursive = true;

View File

@ -14,6 +14,7 @@
./groups
./hardware
./ide
./notif
./office
./rice
./shell

View File

@ -0,0 +1,6 @@
{ ... }:
{
imports = [
./mako.nix
];
}

View File

@ -0,0 +1,17 @@
{ config, lib, pkgs, ...}:
let
inherit (lib) mkIf mkOption types;
in
{
options.smayzy.mako.enable = mkOption {
type = types.bool;
default = false;
description = "mako";
};
config = mkIf config.smayzy.mako.enable {
environment.systemPackages = with pkgs; [
mako
];
};
}

View File

@ -25,8 +25,9 @@ in
fonts.packages = with pkgs; [ nerd-fonts.jetbrains-mono ];
smayzy.mako.enable = true;
environment.systemPackages = with pkgs; [
mako
wofi
wlogout
waybar