Update old options to new formats
This commit is contained in:
parent
09839004e1
commit
bda9abff87
4 changed files with 11 additions and 9 deletions
|
|
@ -49,10 +49,12 @@
|
|||
'';
|
||||
};
|
||||
in {
|
||||
services.xserver = {
|
||||
# Enable the Plasma 5 Desktop Environment
|
||||
desktopManager.plasma5.enable = true;
|
||||
services = {
|
||||
displayManager.defaultSession = "plasmawayland";
|
||||
xserver = {
|
||||
# Enable the Plasma 5 Desktop Environment
|
||||
desktopManager.plasma5.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
qt.enable = true;
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
pkgs,
|
||||
...
|
||||
}: let
|
||||
currentTheme = config.services.xserver.displayManager.sddm.theme;
|
||||
currentTheme = config.services.displayManager.sddm.theme;
|
||||
|
||||
sddm-sugar-candy = pkgs.stdenv.mkDerivation {
|
||||
pname = "sddm-sugar-candy";
|
||||
|
|
@ -43,11 +43,11 @@
|
|||
};
|
||||
in {
|
||||
# Enable SDDM.
|
||||
services.xserver.displayManager.sddm = {
|
||||
services.displayManager.sddm = {
|
||||
enable = true;
|
||||
theme = "sugar-candy";
|
||||
settings = {
|
||||
General = {Numlock = "on";};
|
||||
General = {Numlock = "off";};
|
||||
Theme = {CursorTheme = "Breeze_Snow";};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue