programs/distrobox: remove assertion

It seems to be more suitable as a program module.
This commit is contained in:
Gabriel Arazas 2023-10-18 09:13:42 +08:00
parent af54c3570a
commit 7f06e6a677
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -91,14 +91,6 @@ in
};
config = lib.mkIf cfg.enable {
assertions = [{
assertion = config.virtualisation.podman.enable || config.virtualisation.docker.enable;
message = ''
Neither Podman nor Docker is enabled. You need to use enable either to
be able to use this program.
'';
}];
environment.systemPackages = [ cfg.package ];
environment.etc."distrobox/distrobox.conf".source = lib.mkIf (cfg.settings != { }) settingsFile;