sourcephile
/
git
/
sourcephile-nix.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
mermet: set memory limits
[sourcephile-nix.git]
/
nixos
/
profiles
/
systems
/
debug.nix
1
{ pkgs, ... }:
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
}