Skip to content

Commit

Permalink
nixos/openvpn3: add /etc/openvpn3/configs to systemd.tmpfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
JarvisCraft committed Nov 5, 2024
1 parent 7ffd9ae commit 9200e18
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion nixos/modules/programs/openvpn3.nix
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,12 @@ in {
};
};

systemd.packages = [ cfg.package ];
systemd = {
packages = [ cfg.package ];
tmpfiles.rules = [
"d /etc/openvpn3/configs 0755 openvpn openvpn - -"
];
};
};

meta.maintainers = with lib.maintainers; [ shamilton progrm_jarvis ];
Expand Down

0 comments on commit 9200e18

Please sign in to comment.