]> Git — Sourcephile - sourcephile-nix.git/blob - hosts/losurdo/debug.nix
carotte: prepare switch install
[sourcephile-nix.git] / hosts / losurdo / 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 environment.systemPackages = [
13 pkgs.valgrind
14 ];
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 }