summary refs log tree commit diff
path: root/nixos/modules/virtualisation/google-compute-image.nix
diff options
context:
space:
mode:
authorWout Mertens <Wout.Mertens@gmail.com>2018-04-08 08:46:42 +0200
committerGitHub <noreply@github.com>2018-04-08 08:46:42 +0200
commitfc6ab8dfa7b7cb99e3b44994ebe76f9b637ec2c6 (patch)
treea72ecf8e58c679f3aba058018d21ff6cf35af7ae /nixos/modules/virtualisation/google-compute-image.nix
parentd1d52adb5baebe56c49bf388ae62210573efc09d (diff)
downloadnixlib-fc6ab8dfa7b7cb99e3b44994ebe76f9b637ec2c6.tar
nixlib-fc6ab8dfa7b7cb99e3b44994ebe76f9b637ec2c6.tar.gz
nixlib-fc6ab8dfa7b7cb99e3b44994ebe76f9b637ec2c6.tar.bz2
nixlib-fc6ab8dfa7b7cb99e3b44994ebe76f9b637ec2c6.tar.lz
nixlib-fc6ab8dfa7b7cb99e3b44994ebe76f9b637ec2c6.tar.xz
nixlib-fc6ab8dfa7b7cb99e3b44994ebe76f9b637ec2c6.tar.zst
nixlib-fc6ab8dfa7b7cb99e3b44994ebe76f9b637ec2c6.zip
google-compute-image: provide correct MTU
Diffstat (limited to 'nixos/modules/virtualisation/google-compute-image.nix')
-rw-r--r--nixos/modules/virtualisation/google-compute-image.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/virtualisation/google-compute-image.nix b/nixos/modules/virtualisation/google-compute-image.nix
index 559c30b9416a..0b6bec786da4 100644
--- a/nixos/modules/virtualisation/google-compute-image.nix
+++ b/nixos/modules/virtualisation/google-compute-image.nix
@@ -75,6 +75,9 @@ in
 
   networking.usePredictableInterfaceNames = false;
 
+  # GC has 1460 MTU
+  networking.interfaces.eth0.mtu = 1460;
+
   # allow the google-accounts-daemon to manage users
   users.mutableUsers = true;
   # and allow users to sudo without password