# SPDX-FileCopyrightText: 2024 Serokell # # SPDX-License-Identifier: MPL-2.0 {inputs, pkgs, flakes, ...}: { nix = { registry.nixpkgs.flake = inputs.nixpkgs; nixPath = [ "nixpkgs=${inputs.nixpkgs}" ]; extraOptions = '' experimental-features = ${if flakes then "nix-command flakes" else "nix-command"} ''; settings = { trusted-users = [ "root" "@wheel" ]; substituters = pkgs.lib.mkForce []; }; }; virtualisation.graphics = false; virtualisation.memorySize = 1536; boot.loader.grub.enable = false; documentation.enable = false; }