<commit_before>{ lib, pkgs, ... }:

let
    cgroupsManager = pkgs.lib.callPackageWith pkgs.haskellPackages /cgroups/package.nix {};

in {

    nixpkgs.config.allowUnfree = true;
    environment.systemPackages = [ cgroupsManager ];

    systemd.services.cgroups-manager = {
        description = "CGroups Manager";
        wantedBy = [ "multi-user.target" ];<commit_msg>proxy via nginx<commit_after>{ lib, pkgs, ... }:

let
    cgroupsManager = pkgs.lib.callPackageWith pkgs.haskellPackages /cgroups/package.nix {};

in {

    nixpkgs.config.allowUnfree = true;
    environment.systemPackages = [ cgroupsManager ];

    services.nginx.enable = true;
    services.nginx.httpConfig = ''
        types {
            text/html                html;
            text/css                 css;
            application/x-javascript js;
        }
        server {
            root /cgroups/static;
            location / {
                try_files $uri @happstack;
            }
            location @happstack {
                proxy_pass http://localhost:8000;
            }
        }
    '';

    systemd.services.cgroups-manager = {
        description = "CGroups Manager";
        wantedBy = [ "multi-user.target" ];
{'fraction_non_alphanumeric': 0.11230388109000826, 'fraction_numerical': 0.0033030553261767133, 'mean_word_length': 1.8450704225352113, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2788582', 'n_tokens_mistral': 373, 'n_tokens_neox': 347, 'n_words': 61}