diff --git a/flake.nix b/flake.nix index a526465..148eb48 100644 --- a/flake.nix +++ b/flake.nix @@ -341,9 +341,6 @@ pkgs-caddy = import inputs.nixpkgs-caddy { inherit system; }; }; modules = import ./hosts/arrow/modules.nix { inherit inputs globals overlays; } ++ [ - # import - # ./modules/aws - # { inherit inputs; } ( { ... }: { diff --git a/hosts/arrow/default.nix b/hosts/arrow/default.nix index 67b8feb..3d19975 100644 --- a/hosts/arrow/default.nix +++ b/hosts/arrow/default.nix @@ -26,6 +26,16 @@ inputs.nixpkgs.lib.nixosSystem rec { device = "/dev/disk/by-label/boot"; fsType = "vfat"; }; + + virtualisation.vmVariant = { + virtualisation.forwardPorts = [ + { + from = "host"; + host.port = 2222; + guest.port = 22; + } + ]; + }; } ]; } diff --git a/hosts/arrow/modules.nix b/hosts/arrow/modules.nix index 05f90b2..699e5cc 100644 --- a/hosts/arrow/modules.nix +++ b/hosts/arrow/modules.nix @@ -26,16 +26,6 @@ # nix-index seems to eat up too much memory for Vultr home-manager.users.${globals.user}.programs.nix-index.enable = inputs.nixpkgs.lib.mkForce false; - - virtualisation.vmVariant = { - virtualisation.forwardPorts = [ - { - from = "host"; - host.port = 2222; - guest.port = 22; - } - ]; - }; } ../../modules/common ../../modules/nixos