amazon-image.nix: Disable udisks

This reduces the system closure by 89 MiB.
This commit is contained in:
Eelco Dolstra 2018-10-15 21:47:51 +02:00
parent 47dfe25e1b
commit 0bdd0d8e04
No known key found for this signature in database
GPG Key ID: 8170B4726D7198DE

View File

@ -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;
};
}