From 4bb603b801a43fff305d6e7b54255e89daad6c12 Mon Sep 17 00:00:00 2001 From: Frantisek Bohacek Date: Sun, 24 Mar 2024 09:05:07 +0100 Subject: [PATCH] chore: update deprecated options --- modules/desktop/default.nix | 8 +++++--- modules/shell/zsh.nix | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/modules/desktop/default.nix b/modules/desktop/default.nix index 94e79d5..f120a9e 100644 --- a/modules/desktop/default.nix +++ b/modules/desktop/default.nix @@ -5,9 +5,11 @@ xserver = { enable = true; - layout = "us,cz"; # Keyboard layout & €-sign - xkbVariant = ",qwerty"; - xkbOptions = "grp:alt_shift_toggle, ctrl:nocaps"; + xkb = { + layout = "us,cz"; # Keyboard layout & €-sign + variant = ",qwerty"; + options = "grp:alt_shift_toggle, ctrl:nocaps"; + }; libinput.enable = true; modules = [ pkgs.xf86_input_wacom ]; # Both needed for wacom tablet usage wacom.enable = true; diff --git a/modules/shell/zsh.nix b/modules/shell/zsh.nix index eebd252..e7936f4 100644 --- a/modules/shell/zsh.nix +++ b/modules/shell/zsh.nix @@ -11,7 +11,7 @@ }; zsh = { enable = true; - enableAutosuggestions = true; + autosuggestion.enable = true; syntaxHighlighting.enable = true; enableCompletion = true; history.size = 100000; -- 2.48.1