plasma and sddm theme

This commit is contained in:
twoneis 2024-06-24 00:10:41 +02:00
parent 73532eee6e
commit 3635e29149
5 changed files with 72 additions and 2 deletions

View file

@ -5,7 +5,8 @@
withBluetooth = true; withBluetooth = true;
withNiri = true; withNiri = true;
withGnome = true; withGnome = false;
withPlasma = true;
withVM = false; withVM = false;
withContainers = true; withContainers = true;

View file

@ -7,6 +7,7 @@
./gnome ./gnome
./home ./home
./niri ./niri
./plasma
./virt ./virt
]; ];

View file

@ -0,0 +1,28 @@
{ pkgs, lib, config, ... }: lib.mkIf (config.withPlasma) {
services = {
displayManager.sddm = {
enable = true;
wayland = {
enable = true;
compositor = "kwin";
};
theme = "where_is_my_sddm_theme";
};
desktopManager.plasma6 = {
enable = true;
};
};
environment = {
plasma6.excludePackages = with pkgs.kdePackages; [
plasma-browser-integration
konsole
oxygen
];
systemPackages = [ (pkgs.where-is-my-sddm-theme.override ({ themeConfig = builtins.readFile ./sddm-theme.conf; })) ];
};
programs.dconf.enable = true;
}

View file

@ -0,0 +1,39 @@
[General]
# Password mask character
passwordCharacter=*
# Mask password characters or not ("true" or "false")
passwordMask=true
# value "1" is all display width, "0.5" is a half of display width etc.
passwordInputWidth=0.5
# Background color of password input
passwordInputBackground=
# Radius of password input corners
passwordInputRadius=
# "true" for visible cursor, "false"
passwordInputCursorVisible=false
# Font size of password (in points)
passwordFontSize=96
passwordCursorColor=random
passwordTextColor=
# Show or not sessions choose label
showSessionsByDefault=false
# Font size of sessions choose label (in points).
sessionsFontSize=24
# Show or not users choose label
showUsersByDefault=false
# Font size of users choose label (in points)
usersFontSize=48
# Path to background image
background=
# Or use just one color
backgroundFill=#1f1d2e
backgroundFillMode=aspect
# Default text color for all labels
basicTextColor=#e0def4
# Radius of background blur
blurRadius=

View file

@ -6,7 +6,8 @@
withBluetooth = mkEnableOption "Enable bluetooth"; withBluetooth = mkEnableOption "Enable bluetooth";
withNiri = mkEnableOption "Enable niri compositor"; withNiri = mkEnableOption "Enable niri compositor";
withGnome = mkEnableOption "Enable gnome DE"; withGnome = mkEnableOption "Enable Gnome";
withPlasma = mkEnableOption "Enable KDE Plasma";
withVM = mkEnableOption "Enable VM related configuration"; withVM = mkEnableOption "Enable VM related configuration";
withContainers = mkEnableOption "Enable container support"; withContainers = mkEnableOption "Enable container support";