We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6db8a7f commit 7f61664Copy full SHA for 7f61664
nix/modules/nixos/server.nix
@@ -10,12 +10,13 @@ let
10
in
11
{
12
imports = [
13
- inputs.srvos.nixosModules.hardware-amazon
+ "${modulesPath}/virtualisation/amazon-image.nix"
14
inputs.srvos.nixosModules.server
15
];
16
services.getty.autologinUser = "root";
17
security.sudo.execWheelOnly = mkForce false;
18
services.cloud-init.enable = false;
19
+ virtualisation.amazon-init.enable = true;
20
21
environment.systemPackages = with pkgs; [
22
file
0 commit comments