Skip to content

Commit 7f61664

Browse files
committed
Disable amazon-init
1 parent 6db8a7f commit 7f61664

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nix/modules/nixos/server.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,13 @@ let
1010
in
1111
{
1212
imports = [
13-
inputs.srvos.nixosModules.hardware-amazon
13+
"${modulesPath}/virtualisation/amazon-image.nix"
1414
inputs.srvos.nixosModules.server
1515
];
1616
services.getty.autologinUser = "root";
1717
security.sudo.execWheelOnly = mkForce false;
1818
services.cloud-init.enable = false;
19+
virtualisation.amazon-init.enable = true;
1920

2021
environment.systemPackages = with pkgs; [
2122
file

0 commit comments

Comments
 (0)