diff --git a/flake.nix b/flake.nix index a14f676..009faa7 100644 --- a/flake.nix +++ b/flake.nix @@ -90,7 +90,22 @@ mem = 8192; extraModules = [({ pkgs, ... }: { nixpkgs.config.allowUnfree = true; - nix.settings.experimental-features = [ "nix-command" "flakes" ]; + nix = { + registry.nix-mcp = { + from = { + type = "github"; + owner = "illustris"; + repo = "nix-mcp"; + }; + to = nix-mcp; + }; + settings.experimental-features = [ "nix-command" "flakes" ]; + }; + + services.openssh.enable = true; + users.users.root.openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAm3qVkTmuYEayM3Vstruv8w5SM4K9riokAxUcpothhO illustris@illustris-thinkpad" + ]; environment.systemPackages = with pkgs; [ claude-code-bin @@ -103,6 +118,9 @@ microvm = { writableStoreOverlay = "/nix/.rw-store"; + forwardPorts = [ + { from = "host"; host.port = 2222; guest.port = 22; } + ]; shares = [ { proto = "9p";