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

20 lines
420 B
Nix
Raw Normal View History

2024-02-29 09:53:34 -05:00
{ 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 {
2024-03-23 12:24:20 -04:00
warnings = [ "Hugo package temporarily disabled until this build issue gets fixed: https://github.com/NixOS/nixpkgs/pull/298026" ];
2024-02-29 09:53:34 -05:00
environment.systemPackages = with pkgs; [
2024-03-23 12:24:20 -04:00
#hugo
2024-02-29 09:53:34 -05:00
rsync
yarn
];
};
}