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

19 lines
285 B
Nix
Raw Normal View History

2024-02-29 14:53:34 +00: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 {
environment.systemPackages = with pkgs; [
2024-03-24 16:35:48 +00:00
hugo
2024-02-29 14:53:34 +00:00
rsync
yarn
];
};
}