mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 14:32:59 +00:00
nixos/libreswan: use environment.etc."ipsec.secrets".text
(#357626)
This commit is contained in:
commit
6735eef1b1
@ -125,7 +125,9 @@ in
|
||||
|
||||
# Install configuration files
|
||||
environment.etc = {
|
||||
"ipsec.secrets".source = "${pkgs.libreswan}/etc/ipsec.secrets";
|
||||
"ipsec.secrets".text = ''
|
||||
include ${pkgs.libreswan}/etc/ipsec.secrets
|
||||
'';
|
||||
"ipsec.conf".source = "${pkgs.libreswan}/etc/ipsec.conf";
|
||||
"ipsec.d/01-nixos.conf".source = configFile;
|
||||
} // policyFiles;
|
||||
|
Loading…
Reference in New Issue
Block a user