Option `containers.<name>.systemd.enable` does not exist

Hello there ! I’m trying to refac an old server of mine using containers instead of running everything natively. However, when checking the machine flake, I get this error:

warning: Git tree '/home/kheldae/Documents/Bodaway' is dirty
error:
       … while checking flake output 'nixosConfigurations'
         at /home/kheldae/Documents/Bodaway/flake.nix:36:7:
           35|     {
           36|       nixosConfigurations =
             |       ^
           37|         let

       … while checking the NixOS configuration 'nixosConfigurations."Bodaway:Kvothe"'
         at «github:NixOS/nixpkgs/7dcdd87373d72e7a2173e4db02e20d3d7f495cfd?narHash=sha256-tItrb9M8eYA6WhFgmT9tpGKueri3%2BwRuVA952o/2xSU%3D»/lib/attrsets.nix:987:47:
          986|   */
          987|   nameValuePair = name: value: { inherit name value; };
             |                                               ^
          988|

       … while evaluating the option `containers.Kvothe.config':

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: The option `containers.Kvothe.systemd.enable' does not exist. Definition values:
       - In `/nix/store/2xl4y8v0mpkqbvxdra2c0ci02w8mczyy-source/nixos/modules/virtualisation/nixos-containers.nix':
           {
             _type = "if";
             condition = false;
             content = true;
           }

       Did you mean `containers.Kvothe.systemd.paths', `containers.Kvothe.systemd.repart' or `containers.Kvothe.systemd.units'?

Does anybody has any idea why it’s thrown ? And this is the Kvothe configuration :

{ pkgs, container, ... }:

{
  # MariaDB configuration
  config = container {
    addr = "10.42.0.32";
    # exposed ports
    fwds = [
      {
        containerPort = 3306;
        hostPort = 3306;
      }
    ];
    # volumes
    mounts = {
      "/var/lib/mysql" = {
        hostPath = "/opt/mysql_db";
        isReadOnly = false;
      };
    };

    # core db service
    services.mysql = {
      enable = true;
      package = pkgs.mariadb;
      configFile = builtins.toFile "my.cnf" (builtins.readFile ./res/my.cnf);
    };
    # tweak launch timers for database init
    systemd.services."mysql.service".serviceConfig = {
      TimeoutStartSec = 9999; # as much time as we can
    };
  };
}