Switch to sddm
This commit is contained in:
parent
05b8d54d5c
commit
186146ba99
|
@ -8,10 +8,16 @@ with lib;
|
|||
# Turn on GDM for login
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
autorun = false;
|
||||
autorun = true;
|
||||
displayManager = {
|
||||
gdm = {
|
||||
sddm = {
|
||||
enable = true;
|
||||
settings = {
|
||||
Wayland = {
|
||||
CompositorCommand = "kwin_wayland --no-lockscreen";
|
||||
};
|
||||
};
|
||||
theme = "sugar-dark";
|
||||
};
|
||||
defaultSession = "sway";
|
||||
};
|
||||
|
@ -40,6 +46,21 @@ with lib;
|
|||
gsettings-desktop-schemas
|
||||
lxappearance
|
||||
kde-gtk-config
|
||||
(stdenv.mkDerivation rec {
|
||||
pname = "sddm-sugar-dark-theme";
|
||||
version = "1.2";
|
||||
dontBuild = true;
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/sddm/themes
|
||||
cp -aR $src $out/share/sddm/themes/sugar-dark
|
||||
'';
|
||||
src = fetchFromGitHub {
|
||||
owner = "MarianArlt";
|
||||
repo = "sddm-sugar-dark";
|
||||
rev = "v${version}";
|
||||
sha256 = "0gx0am7vq1ywaw2rm1p015x90b75ccqxnb1sz3wy8yjl27v82yhb";
|
||||
};
|
||||
})
|
||||
];
|
||||
# Enable QT themeing
|
||||
programs.qt5ct.enable = true;
|
||||
|
|
Loading…
Reference in New Issue