Skip to content

Commit

Permalink
Disable amazon-init
Browse files Browse the repository at this point in the history
  • Loading branch information
jhh committed Feb 8, 2025
1 parent 6db8a7f commit 7f61664
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nix/modules/nixos/server.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@ let
in
{
imports = [
inputs.srvos.nixosModules.hardware-amazon
"${modulesPath}/virtualisation/amazon-image.nix"
inputs.srvos.nixosModules.server
];
services.getty.autologinUser = "root";
security.sudo.execWheelOnly = mkForce false;
services.cloud-init.enable = false;
virtualisation.amazon-init.enable = true;

environment.systemPackages = with pkgs; [
file
Expand Down

0 comments on commit 7f61664

Please sign in to comment.