Update plasma config

This commit is contained in:
Yan Lin 2025-09-13 10:56:11 +02:00
parent 1e53199429
commit 765e80c978
3 changed files with 38 additions and 1 deletions

View file

@ -236,6 +236,9 @@
# Enable sudo for wheel group
security.sudo.wheelNeedsPassword = false;
# Enable KDE Wallet auto-unlock via PAM
security.pam.services.sddm.enableKwallet = true;
# System packages
environment.systemPackages = with pkgs; [
# Essential tools
@ -294,6 +297,28 @@
services.acpid.enable = true;
services.upower.enable = true;
# Advanced key remapping with keyd
services.keyd = {
enable = true;
keyboards = {
default = {
ids = [ "*" ];
settings = {
main = {
# Map Caps Lock to Left Control
capslock = "leftcontrol";
# Disable both physical Ctrl keys (make them no-ops)
leftcontrol = "noop";
rightcontrol = "noop";
};
};
};
};
};
# Apply XKB config to console (TTY) as well
console.useXkbConfig = true;
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken.