nixcfg/modules/nixos/cli-apps/flake/default.nix
2024-01-11 10:31:04 +00:00

19 lines
359 B
Nix

inputs@{ options, config, lib, pkgs, ... }:
with lib;
with lib.plusultra;
let
cfg = config.plusultra.cli-apps.flake;
in
{
options.plusultra.cli-apps.flake = with types; {
enable = mkBoolOpt false "Whether or not to enable flake.";
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
snowfallorg.flake
];
};
}