Adapt to unstable option name changes.
This commit is contained in:
parent
85600ad746
commit
8511968173
3 changed files with 3 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
console.keyMap = "de";
|
||||
i18n = {
|
||||
consoleKeyMap = "de";
|
||||
defaultLocale = "en_US.UTF-8";
|
||||
|
||||
inputMethod = {
|
||||
|
|
|
@ -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 = {
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue