forked from mirrors/nixpkgs
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:
parent
0c504281d6
commit
7d731f3bca
|
@ -45,7 +45,9 @@ let
|
|||
];
|
||||
|
||||
instanceOptions = {
|
||||
options = sharedOptions // {
|
||||
options =
|
||||
(getAttrs [ "enable" ] sharedOptions)
|
||||
// {
|
||||
execConfig = mkOption {
|
||||
default = {};
|
||||
example = { Parameters = "/bin/sh"; };
|
||||
|
|
Loading…
Reference in a new issue