]> Git — Sourcephile - sourcephile-nix.git/blob - nixos/profiles/systems/debug.nix
mermet: enable miniflux
[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=1024M
9 '';
10 };
11 environment.enableDebugInfo = true;
12 environment.systemPackages = [
13 #pkgs.valgrind
14 #pkgs.gdb
15 ];
16 /*
17 environment.etc."sudo.conf".text = ''
18 Debug sudo /var/log/sudo_debug.log all@debug
19 Debug sudoers.so /var/log/sudo_debug.log all@debug
20 '';
21 */
22 }