Browse Source

Fix deprecations for nixos 20.09

Thomas Dy 3 years ago
parent
commit
1f07e34e8d
1 changed files with 3 additions and 5 deletions
  1. 3 5
      configuration.nix

+ 3 - 5
configuration.nix

@@ -19,11 +19,9 @@
 
   networking.networkmanager.enable = true;
 
-  i18n = {
-    consoleFont = "Lat2-Terminus16";
-    consoleKeyMap = "us";
-    defaultLocale = "en_US.UTF-8";
-  };
+  console.font = "Lat2-Terminus16";
+  console.keyMap = "us";
+  i18n.defaultLocale = "en_US.UTF-8";
 
   # Set your time zone.
   time.timeZone = "Asia/Tokyo";