mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 10:58:02 +00:00
programs/distrobox: remove assertion
It seems to be more suitable as a program module.
This commit is contained in:
parent
af54c3570a
commit
7f06e6a677
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user