{ config, lib, pkgs, ... }: with lib; let cfg = config.modules.services.pubnix; in { options.modules.services.pubnix = { enable = mkEnableOption "serve pubnix shell"; }; config = mkIf cfg.enable { nix.gc.automatic = true; nix.gc.dates = "daily"; environment.systemPackages = with pkgs; [ bsd-finger ]; }; }