Sravan Balaji b6ed41211b Variable Re-Org and Rename
- Remove unused stylix module from flake
- Move desktop and desktopType from user to system settings
- Rename `hardwareConfiguration` to `hwConfig`
2024-03-28 15:19:53 -04:00

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;
}