{ pkgs, modulesPath, ... }: { #e11sync.enable = true; imports = [(modulesPath + "/virtualisation/qemu-vm.nix")]; virtualisation.graphics = false; environment.systemPackages = with pkgs; [ tmux htop ]; nix.extraOptions = '' experimental-features = nix-command flakes trusted-users = vm ''; users = { mutableUsers = false; users.nixos = { extraGroups = ["wheel"]; isNormalUser = true; hashedPassword = ""; }; }; security.sudo.wheelNeedsPassword = false; services.getty.autologinUser = "nixos"; networking = { hostName = "vm"; firewall = { allowedTCPPorts = [8001]; }; }; system.stateVersion = "23.11"; }