nix: ship debug info

This commit is contained in:
2025-08-14 07:50:55 +00:00
parent 98df75a449
commit a54b476b12

View File

@@ -1,7 +1,11 @@
{ ... }:
{ pkgs, ... }:
{
sane.programs.nix = {
# packageUnwrapped = pkgs.nixVersions.latest; #< XXX(2025-03-17): sometimes `nixVersions.latest` fails to eval T_T
packageUnwrapped = pkgs.nix.overrideAttrs (_: {
# ship debug info, used by gdb (/run/current-system/sw/lib/debug)
separateDebugInfo = true;
});
sandbox.method = null; #< TODO: sandbox ?
env.NIXPKGS_ALLOW_UNFREE = "1"; #< FUCK OFF YOU'RE SO ANNOYING
persist.byStore.plaintext = [