Posts by mic92@toot.matereal.eu
 (DIR) Post #A4YgK0qwcomdwkmZ2O by mic92@toot.matereal.eu
       2021-02-23T07:18:43Z
       
       1 likes, 0 repeats
       
       I think in need to get rid of gnupg out of software stack... whenever I try software like age or deltachat I realize how bad it is.
       
 (DIR) Post #APsDJIMXGaChEwomHI by mic92@toot.matereal.eu
       2022-11-22T20:12:01Z
       
       0 likes, 0 repeats
       
       @y3mz @pinpox k3s works well on NixOS for a couple of years now. I personally still have the nixos firewall disabled for it. Also there seems to be ways around that.
       
 (DIR) Post #APsLWEIIVFeG1JVwSu by mic92@toot.matereal.eu
       2022-11-22T20:55:22Z
       
       0 likes, 0 repeats
       
       @y3mz @pinpox  so far we only used local volumes i.e. based on lvm, so I don't know what the state of this is.
       
 (DIR) Post #AR4FpfRvXiJjiPwFRw by mic92@toot.matereal.eu
       2022-12-28T14:03:04Z
       
       1 likes, 1 repeats
       
       After a lot of testing, I decided it's time to release envfs 1.0: https://github.com/Mic92/envfs/releases/tag/1.0.0 This is a filesystem that make shebangs with hardcoded paths to /usr/bin work on NixOS
       
 (DIR) Post #ASc2j5dwlfXVApfKNs by mic92@toot.matereal.eu
       2023-02-12T19:00:40Z
       
       1 likes, 0 repeats
       
       @davidgerard @bmcgee84 we will make it opt in nixpkgs for sure.
       
 (DIR) Post #AT4R41dogGk4AVzwsy by mic92@toot.matereal.eu
       2023-02-26T10:40:47Z
       
       1 likes, 0 repeats
       
       @baloo both musl and glibc have a lot of internal state set up at startup. You cannot even set up one glibc linked application and load another glibc at runtime. That's why I ended up using the nolibc library from the Linux kernel when building nix-ld.
       
 (DIR) Post #AU6GQmKjXeMTQvu7fc by mic92@toot.matereal.eu
       2023-03-29T06:37:37Z
       
       2 likes, 3 repeats
       
       Nixpkgs evaluation now needs 15% more CPU time thanks to rust ecoysystem... https://github.com/NixOS/nixpkgs/runs/12279178729 #nixos
       
 (DIR) Post #AU8R34w4DPqLzNBihk by mic92@toot.matereal.eu
       2023-03-30T06:09:22Z
       
       0 likes, 0 repeats
       
       @Ericson2314 @fgaz @zimbatm not so confident there are many volunteers that want to deal with a arcane perl code base that has a lot of responsibilities.
       
 (DIR) Post #AV8Jh31fWLhB5PisUK by mic92@toot.matereal.eu
       2023-04-29T04:31:17Z
       
       0 likes, 0 repeats
       
       @aldo I always wondered what those turning knobs in the corner of your mechanical keyboard do?
       
 (DIR) Post #AVyMVcTQfL1ERlbGYS by mic92@toot.matereal.eu
       2023-05-24T05:54:24Z
       
       1 likes, 1 repeats
       
       Tvix vs nix evaluation of the hello package on a AMD EPYC 7713P: Summary  'nix eval --impure --expr 'with import <nixpkgs>{}; toString hello'' ran   14.26 ± 0.18 times faster than './target/release/tvix -E 'with import <nixpkgs>{}; toString hello''Full report: https://gist.github.com/Mic92/2edb7d1afa861dffd2f601f1de78cb87
       
 (DIR) Post #AVyOUtHesdwMCXsHp2 by mic92@toot.matereal.eu
       2023-05-24T07:33:38Z
       
       1 likes, 0 repeats
       
       I just got told. That nix eval is eager and I should compare it to nix-instantiate instead. New data is in the gist.
       
 (DIR) Post #AWaSj7bljGMXONi9ZI by mic92@toot.matereal.eu
       2023-06-11T16:15:29Z
       
       1 likes, 0 repeats
       
       A bit delayed, but now also nixos images that power our unattended installers are built from NixOS 23.05: https://github.com/nix-community/nixos-images/releases/tag/nixos-23.05
       
 (DIR) Post #AWcDFbyHV83MqUmxwe by mic92@toot.matereal.eu
       2023-06-12T12:17:25Z
       
       1 likes, 0 repeats
       
       We are at this point where you need a 10GB swap file to evaluate nixpkgs for nix-index-database on github runners who are equipped with 8GB RAM. Maybe it's time to stop adding things to nixpkgs until those performance issues are under control.
       
 (DIR) Post #AWdrlbDe1XR16Vk69w by mic92@toot.matereal.eu
       2023-06-12T18:15:43Z
       
       0 likes, 0 repeats
       
       @sandro the naive flamegraphs of nixpkgs are actually quite hard to interpret. ninjatrappeur built some with a patched nix that are better... Maybe there is something. Also I have the feeling it's rather a "death by a thousand papercuts" kind of problem.
       
 (DIR) Post #AXsU8VzL5ogGFhXZZo by mic92@toot.matereal.eu
       2023-07-20T06:50:35Z
       
       1 likes, 0 repeats
       
       Tipp: If you are low on memory and you need to evaluate a lot of #nixos machines, try using the pkgs argument to make nixos share the same nixpkgs instance for all nixos machines: https://github.com/TUM-DSE/doctor-cluster-config/pull/322 Saves 45% of memory in evaluation in our real-world deployment.
       
 (DIR) Post #AZNr9Km9eq4Wl6Me6S by mic92@toot.matereal.eu
       2023-09-03T07:58:43Z
       
       1 likes, 1 repeats
       
       I cannot recommend to use XFS for anything that is not a filesystem benchmark. On crashes it will reliable truncate files to 0 bytes. Had to fix my git repositories manually.
       
 (DIR) Post #Abcg9Fc6eqXUyMDEga by mic92@toot.matereal.eu
       2023-11-09T06:16:22Z
       
       1 likes, 0 repeats
       
       @picnoir I use a shared task list in nextcloud. There are good task manager for both android and iOS that are compatible with that (built-in in iOS). And you can also share contacts and calendar entries.
       
 (DIR) Post #AcVfww4xP5qYF45P7o by mic92@toot.matereal.eu
       2023-12-05T20:03:30Z
       
       0 likes, 0 repeats
       
       @mjg59 borgbackup.
       
 (DIR) Post #AhP7gvbmJueeP6xkrA by mic92@toot.matereal.eu
       2024-04-30T05:36:06Z
       
       1 likes, 0 repeats
       
       @picnoir now we also need a sops-spackos.
       
 (DIR) Post #B1iGHzDiIMowm4bg7E by mic92@toot.matereal.eu
       2025-12-28T15:34:02Z
       
       0 likes, 0 repeats
       
       I created over Christmas a new more reliable method to package binaries with Nix: https://github.com/Mic92/wrap-buddyThis is a drop replacement to `autoPatchelfHook`. Instead of complex patch operations on the elf sections, it replaces the entry point of an elf binary to it's own minimal loader, a bit like how the UPX loader works. Advantage of this approach is that, the layout of the binary at runtime is fully preserved.