summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2020-04-22 13:35:59 +0200
committerAlan Pearce2020-04-22 13:35:59 +0200
commit849c28764a6873e7da7603184101b49683f63a87 (patch)
tree2d7df6000ad6b42c4fab11fefa0fbd960eeb7e31
parentc16f93fb5191de796835b3c1b5ae810ecf93a414 (diff)
downloadnixfiles-849c28764a6873e7da7603184101b49683f63a87.tar.lz
nixfiles-849c28764a6873e7da7603184101b49683f63a87.tar.zst
nixfiles-849c28764a6873e7da7603184101b49683f63a87.zip
Fix for NixOS 20.03 deprecations
-rw-r--r--system/settings/hardware/systemd-boot.nix2
-rw-r--r--system/settings/programs/i3.nix2
-rw-r--r--system/settings/services/xserver.nix2
3 files changed, 3 insertions, 3 deletions
diff --git a/system/settings/hardware/systemd-boot.nix b/system/settings/hardware/systemd-boot.nix
index a1a41f35..9793cf66 100644
--- a/system/settings/hardware/systemd-boot.nix
+++ b/system/settings/hardware/systemd-boot.nix
@@ -5,5 +5,5 @@
     editor = false; # Don't allow modification
   };
   boot.loader.efi.canTouchEfiVariables = true;
-  boot.earlyVconsoleSetup = true;
+  console.earlySetup = true;
 }
diff --git a/system/settings/programs/i3.nix b/system/settings/programs/i3.nix
index b0140cdb..ab1fcca4 100644
--- a/system/settings/programs/i3.nix
+++ b/system/settings/programs/i3.nix
@@ -1,7 +1,6 @@
 { config, pkgs, ... }:
 
 { services.xserver.windowManager = {
-    default = "i3";
     i3 = {
       enable = true;
       extraSessionCommands = ''
@@ -9,6 +8,7 @@
       '';
     };
   };
+  services.xserver.displayManager.defaultSession = "none+i3";
 
   environment.systemPackages = with pkgs; [
     i3status
diff --git a/system/settings/services/xserver.nix b/system/settings/services/xserver.nix
index 8c35da95..cddf5734 100644
--- a/system/settings/services/xserver.nix
+++ b/system/settings/services/xserver.nix
@@ -7,7 +7,7 @@ with lib;
     exportConfiguration = true;
   };
 
-  i18n.consoleUseXkbConfig = true;
+  console.useXkbConfig = true;
 
   xdg.sounds.enable = false;