mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-06 01:38:06 +00:00
[Desktop/SDDM] drop sddm-unstable hacks and uneeded config for NixOS 24.05
This commit is contained in:
parent
244c878108
commit
337de7ccd4
2 changed files with 2 additions and 47 deletions
|
|
@ -7,30 +7,17 @@ in {
|
|||
options.aviallon.desktop.sddm.unstable = mkEnableOption "bleeding-edge SDDM";
|
||||
options.aviallon.desktop.sddm.enable = mkEnableOption "custom SDDM configuration";
|
||||
|
||||
imports = [ ./sddm-unstable.nix ];
|
||||
|
||||
config = mkIf cfg.sddm.enable {
|
||||
|
||||
# Delete SDDM QMLCache
|
||||
systemd.tmpfiles.rules = mkAfter [
|
||||
"e ${config.users.users.sddm.home}/.cache/sddm-greeter/qmlcache/ - - - 0"
|
||||
];
|
||||
|
||||
# Prevents blinking cursor
|
||||
services.xserver.displayManager.sddm = {
|
||||
services.displayManager.sddm = {
|
||||
enable = true;
|
||||
wayland.enable = mkDefault true;
|
||||
wayland.compositor = "kwin";
|
||||
settings = {
|
||||
/*General.GreeterEnvironment = mkIf sddmCfg.wayland.enable (concatStringsSep "," [
|
||||
"QT_WAYLAND_SHELL_INTEGRATION=layer-shell"
|
||||
"QT_QPA_PLATFORM=wayland"
|
||||
]);*/
|
||||
Theme = {
|
||||
CursorTheme = "breeze_cursors";
|
||||
};
|
||||
/*Wayland = mkIf sddmCfg.wayland.enable {
|
||||
CompositorCommand = mkOverride 60 "${pkgs.libsForQt5.kwin}/bin/kwin_wayland --drm --no-lockscreen --no-global-shortcuts --locale1";
|
||||
};*/
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue