anchor.diff: -{ pkgs, lib, ... }:
  -
  -with lib;
  +{ config, pkgs, lib, ... }:
   
   let
  +  inherit (lib) mkIf mkDefault;
  +  cfg = config.openstack;
     metadataFetcher = import ./openstack-metadata-fetcher.nix {
       targetRoot = "/";
       wgetExtraOptions = "--retry-connrefused";
  
positive.code:   ];
  
    config = {
      fileSystems."/" = {
        device = "/dev/disk/by-label/nixos";
        fsType = "ext4";
        autoResize = true;
      };
  
      boot.growPartition = true;
      boot.kernelParams = [ "console=ttyS0" ];
      boot.loader.grub.device = "/dev/vda";
      boot.loader.timeout = 0;
  
      # Allow root logins
      services.openssh = {
  
negative.code:       path = [ pkgs.wget ];
        description = "Fetch Metadata on startup";
        wantedBy = [ "multi-user.target" ];
        before = [ "apply-ec2-data.service" "amazon-init.service" ];
        wants = [ "network-online.target" ];
        after = [ "network-online.target" ];
        script = metadataFetcher;
  