Skip to content

Instantly share code, notes, and snippets.

@rossabaker
Last active September 8, 2025 02:12
Show Gist options
  • Select an option

  • Save rossabaker/f6e5e89fd7423e1c0730fcd950c0cd33 to your computer and use it in GitHub Desktop.

Select an option

Save rossabaker/f6e5e89fd7423e1c0730fcd950c0cd33 to your computer and use it in GitHub Desktop.
migrated to paste.rossabaker.com
@rossabaker
Copy link
Copy Markdown
Author

I think nixpkgs' i3lock refers to a PAM library from nixpkgs, and as you see from strace, it still loads from /etc and chokes on that non-standard Debian syntax. I made some progress by replacing the @include statements from /etc with standard calls, but it went deep, and I decided it wasn't maintainable in the long run.

@lobre
Copy link
Copy Markdown

lobre commented Aug 24, 2020

BTW, one solution to implement a fallback to the i3lock from the current OS:

https://git.0xee.eu/0xee/nix-home/commit/95e4900f31b4c3eadc49f7252e3cf17235e787bb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment