From 28b4846f280c2a1dea01eeab2dcb54f6c5758688 Mon Sep 17 00:00:00 2001 From: mehbark Date: Mon, 14 Aug 2023 08:10:20 -0400 Subject: [PATCH] success!? working towards vm --- configuration.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/configuration.nix b/configuration.nix index 951f7c8..62dd666 100644 --- a/configuration.nix +++ b/configuration.nix @@ -93,6 +93,21 @@ extraGroups = [ "networkmanager" "wheel" ]; }; + virtualization.vmVariant = { + virtualization = { + memorySize = 2048; + cores = 3; + graphics = true; + }; + }; + + services.openssh = { + enable = true; + settings.PasswordAuthentication = true; + }; + + networking.firewall.allowedTCPPorts = [ 22 ]; + # services.emacs.enable = true; # services.emacs.package = import /home/mbk/.emacs.d { pkgs = pkgs; }; # services.emacs.defaultEditor = true;