1
0
Fork 0
nix-configuration/modules/apps/hugo.nix

20 lines
420 B
Nix

{ pkgs, config, lib, ... }:
let
cfg = config.host.apps.hugo;
in
with lib;
{
options = {
host.apps.hugo.enable = mkEnableOption (mdDoc "Enables Hugo and webdev tools");
};
config = mkIf cfg.enable {
warnings = [ "Hugo package temporarily disabled until this build issue gets fixed: https://github.com/NixOS/nixpkgs/pull/298026" ];
environment.systemPackages = with pkgs; [
#hugo
rsync
yarn
];
};
}