nixos/nspawn: Remove not compliant options

The attribute set sharedOptions pulls in not compliant unit options:
- requiredBy
- wantedBy
- aliases

see man5 systemd.nspawn
This commit is contained in:
Christian Kögler 2022-09-04 11:34:37 +02:00
parent 0c504281d6
commit 7d731f3bca

View File

@ -45,7 +45,9 @@ let
];
instanceOptions = {
options = sharedOptions // {
options =
(getAttrs [ "enable" ] sharedOptions)
// {
execConfig = mkOption {
default = {};
example = { Parameters = "/bin/sh"; };