plasma and sddm theme
This commit is contained in:
parent
73532eee6e
commit
3635e29149
5 changed files with 72 additions and 2 deletions
|
@ -5,7 +5,8 @@
|
|||
withBluetooth = true;
|
||||
|
||||
withNiri = true;
|
||||
withGnome = true;
|
||||
withGnome = false;
|
||||
withPlasma = true;
|
||||
|
||||
withVM = false;
|
||||
withContainers = true;
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
./gnome
|
||||
./home
|
||||
./niri
|
||||
./plasma
|
||||
./virt
|
||||
];
|
||||
|
||||
|
|
28
modules/plasma/default.nix
Normal file
28
modules/plasma/default.nix
Normal 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;
|
||||
}
|
39
modules/plasma/sddm-theme.conf
Normal file
39
modules/plasma/sddm-theme.conf
Normal 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=
|
|
@ -6,7 +6,8 @@
|
|||
withBluetooth = mkEnableOption "Enable bluetooth";
|
||||
|
||||
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";
|
||||
withContainers = mkEnableOption "Enable container support";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue