amazon-image.nix: Disable udisks

This reduces the system closure by 89 MiB.
wip/yesman
Eelco Dolstra 6 years ago
parent 47dfe25e1b
commit 0bdd0d8e04
No known key found for this signature in database
GPG Key ID: 8170B4726D7198DE
  1. 6
      nixos/modules/virtualisation/amazon-image.nix

@ -145,8 +145,12 @@ let cfg = config.ec2; in
environment.systemPackages = [ pkgs.cryptsetup ];
boot.initrd.supportedFilesystems = [ "unionfs-fuse" ];
# EC2 has its own NTP server provided by the hypervisor
networking.timeServers = [ "169.254.169.123" ];
# udisks has become too bloated to have in a headless system
# (e.g. it depends on GTK+).
services.udisks2.enable = false;
};
}

Loading…
Cancel
Save