)]}'
{"ops/modules/automatic-gc.nix":[{"author":{"_account_id":1000000,"name":"lukegb","email":"lukegb@tvl.fyi","username":"lukegb","status":"zzz"},"change_message_id":"e0f59165677517102348d62704f31de984c13bf6","unresolved":true,"context_lines":[{"line_number":12,"context_line":""},{"line_number":13,"context_line":"  gcScript \u003d pkgs.writeShellScript \"automatic-nix-gc\" \u0027\u0027"},{"line_number":14,"context_line":"    set -ueo pipefail"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"    readonly MIN_THRESHOLD_KIB\u003d\"\u0027\u0027${1}\""},{"line_number":17,"context_line":"    readonly MAX_FREED_BYTES\u003d\"\u0027\u0027${2}\""},{"line_number":18,"context_line":"    readonly GEN_THRESHOLD\u003d\"\u0027\u0027${3}\""},{"line_number":19,"context_line":"    readonly AVAILABLE_KIB\u003d$(df --sync /nix --output\u003davail | tail -n1)"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"    if [ \"\u0027\u0027${AVAILABLE_KIB}\" -lt \"\u0027\u0027${MIN_THRESHOLD_KIB}\" ]; then"}],"source_content_type":"text/x-nix","patch_set":6,"id":"8a92dd31_9c07225c","line":18,"range":{"start_line":15,"start_character":0,"end_line":18,"end_character":35},"updated":"2021-04-14 17:06:58.000000000","message":"Why this vs just embedding the config attributes into the script? We have to rebuild the unit anyway, rebuilding the script at the same time doesn\u0027t seem like a hugely terrible thing and means we don\u0027t have to match the ordering here with the config attributes.","commit_id":"8270466819a8b17431ba38a433956d074ff8ed7e"},{"author":{"_account_id":1000001,"name":"tazjin","email":"tazjin@tvl.su","username":"tazjin"},"change_message_id":"3ba0ded09d3840662f685bd312646af169abeffc","unresolved":false,"context_lines":[{"line_number":12,"context_line":""},{"line_number":13,"context_line":"  gcScript \u003d pkgs.writeShellScript \"automatic-nix-gc\" \u0027\u0027"},{"line_number":14,"context_line":"    set -ueo pipefail"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"    readonly MIN_THRESHOLD_KIB\u003d\"\u0027\u0027${1}\""},{"line_number":17,"context_line":"    readonly MAX_FREED_BYTES\u003d\"\u0027\u0027${2}\""},{"line_number":18,"context_line":"    readonly GEN_THRESHOLD\u003d\"\u0027\u0027${3}\""},{"line_number":19,"context_line":"    readonly AVAILABLE_KIB\u003d$(df --sync /nix --output\u003davail | tail -n1)"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"    if [ \"\u0027\u0027${AVAILABLE_KIB}\" -lt \"\u0027\u0027${MIN_THRESHOLD_KIB}\" ]; then"}],"source_content_type":"text/x-nix","patch_set":6,"id":"50f975db_4416fd83","line":18,"range":{"start_line":15,"start_character":0,"end_line":18,"end_character":35},"in_reply_to":"8a92dd31_9c07225c","updated":"2021-04-14 18:06:27.000000000","message":"Done","commit_id":"8270466819a8b17431ba38a433956d074ff8ed7e"},{"author":{"_account_id":1000034,"name":"sterni","email":"sternenseemann@systemli.org","username":"sterni"},"change_message_id":"56c6f4780bad3d5c2f4387750c93d303d2bf108f","unresolved":true,"context_lines":[{"line_number":77,"context_line":"      serviceConfig.Type \u003d \"oneshot\";"},{"line_number":78,"context_line":"    };"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"    systemd.timers.automatic-gc \u003d {"},{"line_number":81,"context_line":"      inherit description;"},{"line_number":82,"context_line":"      wantedBy \u003d [ \"multi-user.target\" ];"},{"line_number":83,"context_line":""}],"source_content_type":"text/x-nix","patch_set":7,"id":"b51a2008_65568f6d","line":80,"updated":"2021-04-14 19:37:30.000000000","message":"You should probably also make sure that this doesn\u0027t get launched if `nix-daemon` isn\u0027t running.","commit_id":"bddd81c346a9a8d0a28f5935f8246201323ba3e5"},{"author":{"_account_id":1000001,"name":"tazjin","email":"tazjin@tvl.su","username":"tazjin"},"change_message_id":"3d7cc9ebec8aead95d3cf1f3de4079d613c30e8c","unresolved":false,"context_lines":[{"line_number":77,"context_line":"      serviceConfig.Type \u003d \"oneshot\";"},{"line_number":78,"context_line":"    };"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"    systemd.timers.automatic-gc \u003d {"},{"line_number":81,"context_line":"      inherit description;"},{"line_number":82,"context_line":"      wantedBy \u003d [ \"multi-user.target\" ];"},{"line_number":83,"context_line":""}],"source_content_type":"text/x-nix","patch_set":7,"id":"a93e960b_9152cdd3","line":80,"in_reply_to":"b51a2008_65568f6d","updated":"2021-04-14 19:51:27.000000000","message":"cl/3015","commit_id":"bddd81c346a9a8d0a28f5935f8246201323ba3e5"}]}
