From 642bf45609e0eb561b9d1e90d1535b9e82e8c0eb Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Fri, 28 Feb 2025 16:35:09 +0100 Subject: [PATCH] add some font stuff for plasma and make shodan not need a password to unlock kscreenlock --- .../package-configs/plasma-desktop.nix | 29 ++++++++++++++++++- home-manager/hosts/shodan/lillian.nix | 3 ++ 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/home-manager/desktop/package-configs/plasma-desktop.nix b/home-manager/desktop/package-configs/plasma-desktop.nix index aace972..d1acf8c 100644 --- a/home-manager/desktop/package-configs/plasma-desktop.nix +++ b/home-manager/desktop/package-configs/plasma-desktop.nix @@ -13,6 +13,33 @@ programs.plasma = { enable = true; desktop.mouseActions.verticalScroll = "switchVirtualDesktop"; + kscreenlocker.appearance.wallpaper = "${osConfig.stylix.image}"; + fonts = { + fixedWidth = { + pointSize = 11; + family = "${osConfig.stylix.fonts.monospace.name}"; + }; + general = { + pointSize = 11; + family = "${osConfig.stylix.fonts.serif.name}"; + }; + menu = { + pointSize = 11; + family = "${osConfig.stylix.fonts.sansSerif.name}"; + }; + small = { + pointSize = 11; + family = "${osConfig.stylix.fonts.sansSerif.name}"; + }; + toolbar = { + pointSize = 11; + family = "${osConfig.stylix.fonts.sansSerif.name}"; + }; + windowTitle = { + pointSize = 11; + family = "${osConfig.stylix.fonts.sansSerif.name}"; + }; + }; panels = [ { alignment = "left"; @@ -95,13 +122,13 @@ "applications:org.kde.dolphin.desktop" "applications:signal-desktop.desktop" "applications:vesktop.desktop" + "applications:thunderbird.desktop" "applications:cinny.desktop" "applications:steam.desktop" "applications:noisetorch.desktop" "applications:org.kde.plasma-systemmonitor.desktop" "applications:foot.desktop" "applications:nitrokey-app.desktop" - "applications:codium.desktop" "applications:freetube.desktop" ]; }; diff --git a/home-manager/hosts/shodan/lillian.nix b/home-manager/hosts/shodan/lillian.nix index a6f2e08..3ea8fa4 100644 --- a/home-manager/hosts/shodan/lillian.nix +++ b/home-manager/hosts/shodan/lillian.nix @@ -106,6 +106,9 @@ }; }; + # Make the kde screenlock not require a password :) + programs.plasma.kscreenlocker.passwordRequired = false; + # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion home.stateVersion = "25.05"; }