diff options
author | Song Wenwu <iyzsong@gmail.com> | 2013-11-29 18:57:42 +0800 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2013-11-30 22:42:01 +0100 |
commit | c4885173b66afe53497feb7f796ab6496dedc187 (patch) | |
tree | b8bc9ec9439138e9d175683eb22ae3aae94cbe37 /nixos/modules/system/boot/systemd.nix | |
parent | c06361a1fcfb7844a2a12cc700edbcb539e27c19 (diff) | |
download | nixpkgs-c4885173b66afe53497feb7f796ab6496dedc187.tar nixpkgs-c4885173b66afe53497feb7f796ab6496dedc187.tar.gz nixpkgs-c4885173b66afe53497feb7f796ab6496dedc187.tar.bz2 nixpkgs-c4885173b66afe53497feb7f796ab6496dedc187.tar.lz nixpkgs-c4885173b66afe53497feb7f796ab6496dedc187.tar.xz nixpkgs-c4885173b66afe53497feb7f796ab6496dedc187.tar.zst nixpkgs-c4885173b66afe53497feb7f796ab6496dedc187.zip |
systemd: add services.journald.extraConfig option
Diffstat (limited to 'nixos/modules/system/boot/systemd.nix')
-rw-r--r-- | nixos/modules/system/boot/systemd.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix index 9f5a7678c85..75c2c788f38 100644 --- a/nixos/modules/system/boot/systemd.nix +++ b/nixos/modules/system/boot/systemd.nix @@ -534,6 +534,16 @@ in ''; }; + services.journald.extraConfig = mkOption { + default = ""; + type = types.lines; + example = "Storage=volatile"; + description = '' + Extra config options for systemd-journald. See man journald.conf + for available options. + ''; + }; + services.logind.extraConfig = mkOption { default = ""; type = types.lines; @@ -585,6 +595,7 @@ in ForwardToConsole=yes TTYPath=${config.services.journald.console} ''} + ${config.services.journald.extraConfig} ''; environment.etc."systemd/logind.conf".text = |