mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
Compare commits
2 commits
61d5892083
...
a64e11dd6a
| Author | SHA1 | Date | |
|---|---|---|---|
| a64e11dd6a | |||
| 8ac342a589 |
2 changed files with 4 additions and 4 deletions
|
|
@ -2,7 +2,7 @@
|
|||
with lib;
|
||||
let
|
||||
cfg = config.aviallon.desktop;
|
||||
sddmCfg = config.services.xserver.displayManager.sddm;
|
||||
sddmCfg = config.services.displayManager.sddm;
|
||||
in {
|
||||
options.aviallon.desktop.sddm.unstable = mkEnableOption "bleeding-edge SDDM";
|
||||
options.aviallon.desktop.sddm.enable = mkEnableOption "custom SDDM configuration";
|
||||
|
|
@ -11,7 +11,7 @@ in {
|
|||
|
||||
# Prevents blinking cursor
|
||||
services.displayManager.sddm = {
|
||||
enable = true;
|
||||
enable = mkOverride 20 true;
|
||||
wayland.enable = mkDefault true;
|
||||
wayland.compositor = "kwin";
|
||||
settings = {
|
||||
|
|
|
|||
|
|
@ -72,8 +72,8 @@ in {
|
|||
};
|
||||
|
||||
hardware.graphics = {
|
||||
package = with pkgs; cfg.internal.package.drivers;
|
||||
package32 = with pkgs; cfg.internal.package32.drivers;
|
||||
package = with pkgs; cfg.internal.package;
|
||||
package32 = with pkgs; cfg.internal.package32;
|
||||
|
||||
extraPackages = optional (hasAttr "opencl" cfg.internal.package.out) cfg.internal.package.out.opencl;
|
||||
extraPackages32 = optional (hasAttr "opencl" cfg.internal.package32.out) cfg.internal.package32.out.opencl;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue