From 85119681737741600ae891a39cc8e2e724b08018 Mon Sep 17 00:00:00 2001 From: derped Date: Thu, 26 Dec 2019 01:00:46 +0100 Subject: [PATCH] Adapt to unstable option name changes. --- config/locale.nix | 2 +- machines/Lilim/options.nix | 2 +- services/desktop.nix | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/locale.nix b/config/locale.nix index 2858139..34158ea 100644 --- a/config/locale.nix +++ b/config/locale.nix @@ -1,8 +1,8 @@ { config, pkgs, ... }: { + console.keyMap = "de"; i18n = { - consoleKeyMap = "de"; defaultLocale = "en_US.UTF-8"; inputMethod = { diff --git a/machines/Lilim/options.nix b/machines/Lilim/options.nix index 8c906dc..279c92e 100644 --- a/machines/Lilim/options.nix +++ b/machines/Lilim/options.nix @@ -60,7 +60,7 @@ with lib; allowedUDPPortRanges = [ { from = 1714; to = 1764; } ]; allowedTCPPortRanges = [ { from = 1714; to = 1764; } ]; }; - desktop.wms = [ "i3" ]; + desktop.wms = [ "none+i3" "i3" ]; }; config.system.copySysConf = { diff --git a/services/desktop.nix b/services/desktop.nix index 041de5c..6413af7 100644 --- a/services/desktop.nix +++ b/services/desktop.nix @@ -40,9 +40,9 @@ in mkIf (elem "desktop" cfg.services) { enable = !(elem "sway" cfg.desktop.wms); layout = "de"; videoDrivers = [ "intel" ]; + displayManager.defaultSession = ifelse (cfg.desktop.wms != []) (elemAt cfg.desktop.wms 0) null; windowManager = mkIf (cfg.desktop.wms != []) { i3 = mkIf (elem "i3" cfg.desktop.wms) (import ./desktop/i3.nix { inherit pkgs; }); - default = elemAt cfg.desktop.wms 0; }; libinput = { enable = true;