diff --git a/hosts/nixos/thinkpad/home.nix b/hosts/nixos/thinkpad/home.nix index a8563ce..e0a7737 100644 --- a/hosts/nixos/thinkpad/home.nix +++ b/hosts/nixos/thinkpad/home.nix @@ -29,4 +29,8 @@ brightness-up = "brightnessctl set +10%"; brightness-down = "brightnessctl set 10%-"; }; -} \ No newline at end of file + + home.packages = with pkgs; [ + keepassxc + ]; +} diff --git a/hosts/nixos/thinkpad/system.nix b/hosts/nixos/thinkpad/system.nix index e933efd..9a977ea 100644 --- a/hosts/nixos/thinkpad/system.nix +++ b/hosts/nixos/thinkpad/system.nix @@ -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. diff --git a/modules/plasma.nix b/modules/plasma.nix index 6682908..b80ac08 100644 --- a/modules/plasma.nix +++ b/modules/plasma.nix @@ -44,4 +44,12 @@ # Configure KWin for borderless windows programs.plasma.kwin.borderlessMaximizedWindows = true; + + # Hide bottom panel/status bar + programs.plasma.panels = [ + { + location = "bottom"; + hiding = "autohide"; + } + ]; }