]> Git — Sourcephile - sourcephile-nix.git/blob - nixos/profiles/systems/debug.nix
nix: update flake inputs
[sourcephile-nix.git] / nixos / profiles / systems / debug.nix
1 { pkgs, lib, config, ... }:
2 {
3 systemd.coredump = {
4 enable = true;
5 extraConfig = ''
6 Storage=external
7 Compress=true
8 MaxUse=64M
9 '';
10 };
11 environment.enableDebugInfo = true;
12 /*
13 environment.systemPackages = [
14 pkgs.valgrind
15 ];
16 environment.etc."sudo.conf".text = ''
17 Debug sudo /var/log/sudo_debug.log all@debug
18 Debug sudoers.so /var/log/sudo_debug.log all@debug
19 '';
20 */
21 }