My personal nix config files. Feel free to import flake.

disable sddm theme

+52 -52
+52 -52
modules/nixos/by-category/gui/programs.nix
··· 82 82 enable = true; 83 83 wayland.enable = true; 84 84 wayland.compositor = "kwin"; 85 - theme = ''${ # <-- string interpolation and nix expression inside {} 86 - pkgs.sddm-sugar-candy.override { 87 - settings = { 88 - # Background = image_mountains; 89 - DimBackgroundImage = "0.0"; 90 - ScaleImageCropped = true; 91 - ScreenWidth = "1920"; 92 - ScreenHeight = "1080"; 93 - FullBlur = false; 94 - PartialBlur = true; 95 - BlurRadius = "100"; 96 - HaveFormBackground = false; 97 - FormPosition = "center"; 98 - BackgroundImageHAlignment = "center"; 99 - BackgroundImageVAlignment = "center"; 100 - MainColor = "white"; 101 - AccentColor = "#fb884f"; 102 - BackgroundColor = "#444"; 103 - OverrideLoginButtonTextColor = ""; 104 - InterfaceShadowSize = "6"; 105 - InterfaceShadowOpacity = "0.6"; 106 - RoundCorners = "20"; 107 - ScreenPadding = "0"; 108 - # Font = "Noto Sans"; 109 - FontSize = ""; 110 - ForceRightToLeft = false; 111 - ForceLastUser = true; 112 - ForcePasswordFocus = true; 113 - ForceHideCompletePassword = true; 114 - ForceHideVirtualKeyboardButton = false; 115 - ForceHideSystemButtons = false; 116 - AllowEmptyPassword = false; 117 - AllowBadUsernames = false; 118 - Locale = ""; 119 - HourFormat = "HH:mm"; 120 - DateFormat = "dddd, d of MMMM"; 121 - HeaderText = "${config.networking.hostName}"; 122 - TranslatePlaceholderUsername = ""; 123 - TranslatePlaceholderPassword = ""; 124 - TranslateShowPassword = ""; 125 - TranslateLogin = ""; 126 - TranslateLoginFailedWarning = ""; 127 - TranslateCapslockWarning = ""; 128 - TranslateSession = ""; 129 - TranslateSuspend = ""; 130 - TranslateHibernate = ""; 131 - TranslateReboot = ""; 132 - TranslateShutdown = ""; 133 - TranslateVirtualKeyboardButton = ""; 134 - }; 135 - } 136 - }''; 85 + # theme = ''${ # <-- string interpolation and nix expression inside {} 86 + # pkgs.sddm-sugar-candy.override { 87 + # settings = { 88 + # # Background = image_mountains; 89 + # DimBackgroundImage = "0.0"; 90 + # ScaleImageCropped = true; 91 + # ScreenWidth = "1920"; 92 + # ScreenHeight = "1080"; 93 + # FullBlur = false; 94 + # PartialBlur = true; 95 + # BlurRadius = "100"; 96 + # HaveFormBackground = false; 97 + # FormPosition = "center"; 98 + # BackgroundImageHAlignment = "center"; 99 + # BackgroundImageVAlignment = "center"; 100 + # MainColor = "white"; 101 + # AccentColor = "#fb884f"; 102 + # BackgroundColor = "#444"; 103 + # OverrideLoginButtonTextColor = ""; 104 + # InterfaceShadowSize = "6"; 105 + # InterfaceShadowOpacity = "0.6"; 106 + # RoundCorners = "20"; 107 + # ScreenPadding = "0"; 108 + # # Font = "Noto Sans"; 109 + # FontSize = ""; 110 + # ForceRightToLeft = false; 111 + # ForceLastUser = true; 112 + # ForcePasswordFocus = true; 113 + # ForceHideCompletePassword = true; 114 + # ForceHideVirtualKeyboardButton = false; 115 + # ForceHideSystemButtons = false; 116 + # AllowEmptyPassword = false; 117 + # AllowBadUsernames = false; 118 + # Locale = ""; 119 + # HourFormat = "HH:mm"; 120 + # DateFormat = "dddd, d of MMMM"; 121 + # HeaderText = "${config.networking.hostName}"; 122 + # TranslatePlaceholderUsername = ""; 123 + # TranslatePlaceholderPassword = ""; 124 + # TranslateShowPassword = ""; 125 + # TranslateLogin = ""; 126 + # TranslateLoginFailedWarning = ""; 127 + # TranslateCapslockWarning = ""; 128 + # TranslateSession = ""; 129 + # TranslateSuspend = ""; 130 + # TranslateHibernate = ""; 131 + # TranslateReboot = ""; 132 + # TranslateShutdown = ""; 133 + # TranslateVirtualKeyboardButton = ""; 134 + # }; 135 + # } 136 + # }''; 137 137 package = lib.mkForce pkgs.libsForQt5.sddm; 138 138 extraPackages = with pkgs; 139 139 lib.mkForce [