From ab5a03f063a7a0839e236bb45d17c0a40eb407bb Mon Sep 17 00:00:00 2001 From: xenia Date: Sat, 8 Jun 2024 22:15:09 +0200 Subject: [PATCH] Update nixos config for nixos 24.05 i think --- nixos/graphical.nix | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/nixos/graphical.nix b/nixos/graphical.nix index ce10a642..cfbfd7fb 100644 --- a/nixos/graphical.nix +++ b/nixos/graphical.nix @@ -10,23 +10,24 @@ services.xserver = { enable = true; desktopManager.xfce.enable = true; - displayManager = { - defaultSession = "xfce"; - lightdm = { - background = ../backgrounds/${background-image}; - greeters.slick.enable = true; - }; + displayManager.lightdm = { + background = ../backgrounds/${background-image}; + greeters.slick.enable = true; }; - layout = "fox"; - xkbOptions = "caps:escape"; - extraLayouts.fox = { - description = "Layout suitable to be used by a fox"; - languages = ["se"]; - symbolsFile = fox-layout; + xkb = { + layout = "fox"; + options = "caps:escape"; + extraLayouts.fox = { + description = "Layout suitable to be used by a fox"; + languages = ["se"]; + symbolsFile = fox-layout; + }; }; }; + services.displayManager.defaultSession = "xfce"; + console.useXkbConfig = true; # Enable sound.