nixcfg/modules/darwin/tools/flake/default.nix
Harald Hoyer 5e2d3a6ce4
add mpro
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2024-03-12 00:24:28 +01:00

19 lines
298 B
Nix

{ lib, config, pkgs, ... }:
with lib;
with lib.plusultra;
let
cfg = config.plusultra.tools.flake;
in
{
options.plusultra.tools.flake = {
enable = mkEnableOption "Flake";
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
snowfallorg.flake
];
};
}