!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1176 Members
“There are still many issues with the Darwin platform but most of it is quite usable.” — http://yves.gnu-darwin.org192 Servers

Load older messages


SenderMessageTime
3 Apr 2026
@hexa:lossy.networkhexathese are from today
Download these are from today
17:53:59
@hexa:lossy.networkhexaand if you've seen a build getting disrupted by a full disk on hydra … well17:54:16
@hexa:lossy.networkhexa
-sh-3.2# df -h
Filesystem        Size    Used   Avail Capacity iused ifree %iused  Mounted on
/dev/disk3s3s1   228Gi    11Gi    20Gi    37%    453k  213M    0%   /
devfs            204Ki   204Ki     0Bi   100%     706     0  100%   /dev
/dev/disk3s6     228Gi   2.0Gi    20Gi     9%       2  213M    0%   /System/Volumes/VM
/dev/disk3s4     228Gi    14Gi    20Gi    42%    5.4k  213M    0%   /System/Volumes/Preboot
/dev/disk3s2     228Gi    59Mi    20Gi     1%      69  213M    0%   /System/Volumes/Update
/dev/disk1s2     500Mi   6.0Mi   483Mi     2%       3  4.9M    0%   /System/Volumes/xarts
/dev/disk1s1     500Mi   5.7Mi   483Mi     2%      30  4.9M    0%   /System/Volumes/iSCPreboot
/dev/disk1s3     500Mi   916Ki   483Mi     1%      32  4.9M    0%   /System/Volumes/Hardware
/dev/disk3s1     228Gi    95Gi    20Gi    83%    2.2M  213M    1%   /System/Volumes/Data
map auto_home      0Bi     0Bi     0Bi   100%       0     0     -   /System/Volumes/Data/home
/dev/disk3s7     228Gi    82Gi    20Gi    81%    4.7M  213M    2%   /nix
/dev/disk4       512Mi    12Mi   500Mi     3%       4  4.3G    0%   /private/var/run/agenix.d
17:54:47
@hexa:lossy.networkhexaan example machine17:54:58
@hexa:lossy.networkhexa
    gc = {
      automatic = true;
      interval = [
        {
          Minute = 15;
        }
        {
          Minute = 45;
        }
      ];
      # ensure up to 100G free space every half hour
      options = "--max-freed $(df -k /nix/store | awk 'NR==2 {available=$4; required=100*1024*1024; to_free=required-available; printf \"%.0d\", to_free*1024}')";
    };
17:55:30
@hexa:lossy.networkhexabut they never free up to 100G17:55:42
@hexa:lossy.networkhexaok, does anyone know how to clean /var/db/uuidtext18:13:32
@hexa:lossy.networkhexawhich takes 65GB of disk space on this one builder18:13:38
@hexa:lossy.networkhexathis seems to be logging related18:13:46
@reckenrode:matrix.orgRandy Eckenrodehttps://eclecticlight.co/2017/10/10/inside-the-macos-log-logd-and-the-files-that-it-manages/18:15:13
@hexa:lossy.networkhexaI have an urge to find -mtime -delete18:16:27
@ihar.hrachyshka:matrix.orgIhar Hrachyshka
   log erase [--all] [--ttl] ?
18:44:00
@ihar.hrachyshka:matrix.orgIhar Hrachyshka man log 18:44:03
@antifuchs:asf.computerantifuchs Speaking of disk space on Mac builders, is there a way to customize the linux-builder vm image size? I keep running out there after a few (too few) builds 20:09:12
@ihar.hrachyshka:matrix.orgIhar Hrachyshka
nix = {
    linux-builder = {
      enable = true;
      config =
        {
          virtualisation = {
            darwin-builder = {
              diskSize = 80 * 1024;
              memorySize = 12 * 1024;
            };
            cores = 8;
          };
        };
    };
  };
20:12:07
@antifuchs:asf.computerantifuchsOoooooh20:14:21
@antifuchs:asf.computerantifuchsThank you!20:14:25
@ihar.hrachyshka:matrix.orgIhar Hrachyshkabtw you'll need ephemeral=true otherwise it won't apply on reboot20:52:27
@ihar.hrachyshka:matrix.orgIhar Hrachyshka hexa: does log erase not do the trick? 21:41:05
@donteatoreo:matrix.orgOreo joined the room.21:47:00
@hexa:lossy.networkhexa I am not a MacOS user, so i am pretty much clueless 21:47:25
@ihar.hrachyshka:matrix.orgIhar HrachyshkaI never used it but it's an official tool and if it works... there are scary stories on the internet that it may break logging or smth if you just rm -rf it, so I'd try first.21:49:34
@ihar.hrachyshka:matrix.orgIhar Hrachyshkachatgpt promises that it will "permanently delete the entire unified logging database" (if without --ttl), which I think is what you want?21:50:58
@ihar.hrachyshka:matrix.orgIhar HrachyshkaI can try it later on a machine of mine if you can wait. i will reply on the PR today or tomorrow.21:52:28
@hexa:lossy.networkhexaI already deleted all files older than 7 days22:19:15
@hexa:lossy.networkhexa~60 GiB freed on all m1 hosts22:19:41
@hexa:lossy.networkhexaWith find -type f -mtime22:20:50
@emilazy:matrix.orgemilysorry, been busy the past few days22:40:10
@emilazy:matrix.orgemilylosing track of notifications 😅22:40:23
@emilazy:matrix.orgemilyno worries re: dismissing the review, I think we might have a written guideline about it being okay to do that if someone is AWOL on a PR after being pinged22:40:38

Show newer messages


Back to Room ListRoom Version: 6