1
0
Fork 0
mirror of https://git.oat.zone/dark-firepit/dotfiles synced 2024-05-06 14:36:06 +02:00
git.oat.zone--dark-firepit-.../modules/dev/php.nix
System administrator 9da0a143ae some refactoring
Co-authored-by: Jill Monoids <oatmealine@disroot.org>
2022-09-05 18:27:22 +02:00

18 lines
287 B
Nix

{ pkgs, lib, config, options, ... }:
with lib;
let
cfg = config.modules.dev.php;
in {
options.modules.dev.php = {
enable = mkOption {
type = types.bool;
default = false;
};
};
config = mkIf cfg.enable {
environment.systemPackages = [ pkgs.php ];
};
}