nixos/hosts/nb/modules/desktop
Dominik Polakovics 28ed3fcf74 fix(nb): resolve keyboard/touchpad and btrfs read-only issues after suspend
This commit addresses two critical suspend/resume issues on the nb host:

1. Keyboard and touchpad not working after suspend
   - Added i2c_hid_acpi kernel module
   - Created systemd service to reload the module after resume
   - Excluded input devices from TLP USB autosuspend

2. /nix/persist becoming read-only after suspend
   - Moved swap from /nix/persist to dedicated @swap subvolume
   - Added systemd service to remount /nix/persist if needed
   - Separated swap from persistent data to prevent btrfs corruption

Changes:
- Created hosts/nb/modules/suspend-fixes.nix with resume hooks
- Updated swap path from /nix/persist/swapfile to /swap/swapfile
- Added /swap filesystem mount for @swap btrfs subvolume
- Added USB_EXCLUDE_INPUT=1 to TLP configuration

Note: Manual step required before deployment - create @swap subvolume.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-19 16:43:02 +02:00
..
bitwarden.nix feat: nb performance tweaks 2025-10-16 21:48:21 +02:00
default.nix fix(nb): resolve keyboard/touchpad and btrfs read-only issues after suspend 2025-10-19 16:43:02 +02:00
flatpak-packages.nix feat: nb performance tweaks 2025-10-15 11:39:29 +02:00
rustdesk-epicenter.nix feat: add different rustdesks for configs 2025-06-05 19:29:00 +02:00
rustdesk.nix feat: add different rustdesks for configs 2025-06-05 19:29:00 +02:00
signal-work.nix fix(nb): force signal-desktop to use X11 with --ozone-platform=x11 2025-10-19 15:56:24 +02:00
social.nix refactor: notebook configration 2025-06-02 01:04:43 +02:00
thunderbird.nix refactor: notebook configration 2025-06-02 01:04:43 +02:00