mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-07 22:25:00 +00:00
[Desktop/(Plasma+SDDM)] migrate SDDM to its own config files + fix SDDM Wayland on Nvidia drivers!
This commit is contained in:
parent
8f2097e07a
commit
916430febd
4 changed files with 85 additions and 45 deletions
25
desktop/sddm-unstable.nix
Normal file
25
desktop/sddm-unstable.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{ config, nixpkgs-unstable, lib, pkgs, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.aviallon.desktop;
|
||||
in {
|
||||
disabledModules = [ "services/x11/display-managers/sddm.nix" ];
|
||||
|
||||
imports = [
|
||||
(import (nixpkgs-unstable + /nixos/modules/services/x11/display-managers/sddm.nix))
|
||||
];
|
||||
|
||||
config = {
|
||||
services.xserver.displayManager.sddm.wayland.compositor = "kwin";
|
||||
|
||||
nixpkgs.overlays = [
|
||||
(final: prev: {
|
||||
sddm = final.libsForQt5.sddm;
|
||||
libsForQt5 = prev.libsForQt5.overrideScope (f: p: {
|
||||
sddm = f.callPackage (import (nixpkgs-unstable + /pkgs/applications/display-managers/sddm)) {};
|
||||
});
|
||||
kdePackages = final.libsForQt5;
|
||||
})
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue