about summary refs log tree commit diff
path: root/nixos/modules/system
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2019-08-19 17:43:57 +0200
committerFlorian Klink <flokli@flokli.de>2019-08-25 22:25:19 +0200
commitf3a18d4562f30737235997e666ed41d6c2e6235a (patch)
tree3db2c09032491a9f7d2298f688a78e93fffe0d97 /nixos/modules/system
parentf34f38ef1c0d2e9e5d985d266cfff84e17312fd1 (diff)
downloadnixlib-f3a18d4562f30737235997e666ed41d6c2e6235a.tar
nixlib-f3a18d4562f30737235997e666ed41d6c2e6235a.tar.gz
nixlib-f3a18d4562f30737235997e666ed41d6c2e6235a.tar.bz2
nixlib-f3a18d4562f30737235997e666ed41d6c2e6235a.tar.lz
nixlib-f3a18d4562f30737235997e666ed41d6c2e6235a.tar.xz
nixlib-f3a18d4562f30737235997e666ed41d6c2e6235a.tar.zst
nixlib-f3a18d4562f30737235997e666ed41d6c2e6235a.zip
nixos/systemd: add new Default{BlockIO,IP}Accounting settings
Diffstat (limited to 'nixos/modules/system')
-rw-r--r--nixos/modules/system/boot/systemd.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix
index 877c608188b9..5d0783b663d9 100644
--- a/nixos/modules/system/boot/systemd.nix
+++ b/nixos/modules/system/boot/systemd.nix
@@ -804,8 +804,10 @@ in
         [Manager]
         ${optionalString config.systemd.enableCgroupAccounting ''
           DefaultCPUAccounting=yes
+          DefaultBlockIOAccounting=yes
           DefaultIOAccounting=yes
           DefaultBlockIOAccounting=yes
+          DefaultIPAccounting=yes
         ''}
         DefaultLimitCORE=infinity
         ${config.systemd.extraConfig}