try again

This commit is contained in:
twoneis 2024-09-07 02:12:43 +02:00
parent 4b24905793
commit 910654232a
2 changed files with 56 additions and 0 deletions

View file

@ -17,6 +17,15 @@ in {
NIXOS_OZONE_WL = "1"; NIXOS_OZONE_WL = "1";
}; };
environment.systemPackages = [
(pkgs.where-is-my-sddm-theme.override ({ themeConfig = (import ./sddm.theme.nix { config = config; }).style; }))
];
services.displayManager.sddm = {
enable = true;
wayland.enable = true;
theme = "where_is_my_sddm_theme";
};
programs.niri = { programs.niri = {
enable = true; enable = true;

View file

@ -0,0 +1,47 @@
{ config, ... }: let
base = config.theme.base;
surface = config.theme.surface;
text = config.theme.text;
in {
style = ''
[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=${surface}
# Radius of password input corners
passwordInputRadius=8
# "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=${base}
backgroundFillMode=aspect
# Default text color for all labels
basicTextColor=${text}
# Radius of background blur
blurRadius=
'';
}