Add support for kde plasma desktop
This commit is contained in:
@@ -35,7 +35,7 @@
|
|||||||
email = "balajsra@umich.edu"; # Email (used for certain configurations)
|
email = "balajsra@umich.edu"; # Email (used for certain configurations)
|
||||||
dotfilesDir = "~/.dotfiles"; # Absolute path of the local repo
|
dotfilesDir = "~/.dotfiles"; # Absolute path of the local repo
|
||||||
theme = "dracula"; # Selected theme from themes directory
|
theme = "dracula"; # Selected theme from themes directory
|
||||||
desktop = "dwm"; # Selected window manager or desktop environment
|
desktop = "kde"; # Selected window manager or desktop environment
|
||||||
desktopType = "x11"; # x11 or wayland
|
desktopType = "x11"; # x11 or wayland
|
||||||
browser = "vivaldi"; # Default browser
|
browser = "vivaldi"; # Default browser
|
||||||
term = "kitty"; # Default terminal command
|
term = "kitty"; # Default terminal command
|
||||||
|
15
system/gui/kde.nix
Normal file
15
system/gui/kde.nix
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
{ config, lib, pkgs, userSettings, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./default.nix
|
||||||
|
(if userSettings.desktopType == "x11" then ./x11.nix else "")
|
||||||
|
];
|
||||||
|
|
||||||
|
services.xserver.displayManager = {
|
||||||
|
sddm.enable = true;
|
||||||
|
sddm.wayland.enable = (if userSettings.desktopType == "x11" then false else true);
|
||||||
|
defaultSession = (if userSettings.desktopType == "x11" then "plasmax11" else "plasma");
|
||||||
|
};
|
||||||
|
services.desktopManager.plasma6.enable = true;
|
||||||
|
}
|
Reference in New Issue
Block a user