Fix for NixOS 20.03 deprecations
Alan Pearce alan@alanpearce.eu
Wed, 22 Apr 2020 13:35:59 +0200
3 files changed, 3 insertions(+), 3 deletions(-)
M system/settings/hardware/systemd-boot.nix → system/settings/hardware/systemd-boot.nix
@@ -5,5 +5,5 @@ enable = true; editor = false; # Don't allow modification }; boot.loader.efi.canTouchEfiVariables = true; - boot.earlyVconsoleSetup = true; + console.earlySetup = true; }
M system/settings/programs/i3.nix → system/settings/programs/i3.nix
@@ -1,7 +1,6 @@ { config, pkgs, ... }: { services.xserver.windowManager = { - default = "i3"; i3 = { enable = true; extraSessionCommands = '' @@ -9,6 +8,7 @@ ${pkgs.sxhkd}/bin/sxhkd & ''; }; }; + services.xserver.displayManager.defaultSession = "none+i3"; environment.systemPackages = with pkgs; [ i3status
M system/settings/services/xserver.nix → system/settings/services/xserver.nix
@@ -7,7 +7,7 @@ enableCtrlAltBackspace = true; exportConfiguration = true; }; - i18n.consoleUseXkbConfig = true; + console.useXkbConfig = true; xdg.sounds.enable = false;