- Remove unused stylix module from flake - Move desktop and desktopType from user to system settings - Rename `hardwareConfiguration` to `hwConfig`
16 lines
454 B
Nix
16 lines
454 B
Nix
{ config, lib, pkgs, systemSettings, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./default.nix
|
|
(if systemSettings.desktopType == "x11" then ./x11.nix else "")
|
|
];
|
|
|
|
services.xserver.displayManager = {
|
|
sddm.enable = true;
|
|
sddm.wayland.enable = (if systemSettings.desktopType == "x11" then false else true);
|
|
defaultSession = (if systemSettings.desktopType == "x11" then "plasmax11" else "plasma");
|
|
};
|
|
services.desktopManager.plasma6.enable = true;
|
|
}
|