mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 13:00:23 +00:00
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:
@@ -45,7 +45,9 @@ let
|
||||
];
|
||||
|
||||
instanceOptions = {
|
||||
options = sharedOptions // {
|
||||
options =
|
||||
(getAttrs [ "enable" ] sharedOptions)
|
||||
// {
|
||||
execConfig = mkOption {
|
||||
default = {};
|
||||
example = { Parameters = "/bin/sh"; };
|
||||
|
||||
Reference in New Issue
Block a user