mv mako to module
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
+6
View File
@@ -0,0 +1,6 @@
{ ... }:
{
imports = [
./mako.nix
];
}
+17
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
];
};
}