summary refs log tree commit diff
path: root/nixos/modules/system
diff options
context:
space:
mode:
authorJaka Hudoklin <jakahudoklin@gmail.com>2015-02-07 14:52:31 +0000
committerJaka Hudoklin <jakahudoklin@gmail.com>2015-02-07 14:52:31 +0000
commit769fb8a1411bb3979ddc87d300e1ba664ed9a34a (patch)
tree5d30449593696665ba0e8112896f1e01604a6e0b /nixos/modules/system
parent5ae6bf304cf451f0e950c4822f5b49f5a6e5a0bb (diff)
parent9eb24c72ff4bf3e8c1b9ba1c3b5dd0f1b59c479d (diff)
downloadnixpkgs-769fb8a1411bb3979ddc87d300e1ba664ed9a34a.tar
nixpkgs-769fb8a1411bb3979ddc87d300e1ba664ed9a34a.tar.gz
nixpkgs-769fb8a1411bb3979ddc87d300e1ba664ed9a34a.tar.bz2
nixpkgs-769fb8a1411bb3979ddc87d300e1ba664ed9a34a.tar.lz
nixpkgs-769fb8a1411bb3979ddc87d300e1ba664ed9a34a.tar.xz
nixpkgs-769fb8a1411bb3979ddc87d300e1ba664ed9a34a.tar.zst
nixpkgs-769fb8a1411bb3979ddc87d300e1ba664ed9a34a.zip
Merge pull request #5486 from matejc/fixgatewayd
systemd-journal-gatewayd: add systemd-journal group
Diffstat (limited to 'nixos/modules/system')
-rw-r--r--nixos/modules/system/boot/systemd.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix
index 053a85c4c5b..f853a8f6775 100644
--- a/nixos/modules/system/boot/systemd.nix
+++ b/nixos/modules/system/boot/systemd.nix
@@ -1040,6 +1040,11 @@ in
       ''
         # This file is created automatically and should not be modified.
         # Please change the option ‘systemd.tmpfiles.rules’ instead.
+
+        z /var/log/journal 2755 root systemd-journal - -
+        z /var/log/journal/%m 2755 root systemd-journal - -
+        z /var/log/journal/%m/* 0640 root systemd-journal - -
+
         ${concatStringsSep "\n" cfg.tmpfiles.rules}
       '';