Skip to content

nixos/pam: assemble via the module system #90640

Closed

Description

@flokli

nixos/modules/security/pam.nix contains a huge monolith of pam configuration.

This can be described in a more composable way by using the module system to assemble this configuration file, similar to how it was done with the nss module

While doing this, we'd need to determine a concept on how things should be ordered, taking into account different stages of the authentication process.

Helpful pointers:

Activity

  1. added
    0.kind: bug
    on Jun 16, 2020
  2. added
    6.topic: nixos
    on Jun 16, 2020
  3. added
    0.kind: enhancement
    and removed
    0.kind: bug
    on Jun 18, 2020
  4. rissson commented on Oct 8, 2020

    @rissson
    Member

    Is anyone working on this? Or should I get ready to get my hands dirty :D

  5. flokli commented on Oct 11, 2020

    @flokli
    MemberAuthor

    Please do! :-)

  6. Rudi9719 commented on Nov 20, 2020

    @Rudi9719

    Hey @rissson how are you doing on this? Need a hand?

  7. rissson commented on Nov 21, 2020

    @rissson
    Member

    Hey @rissson how are you doing on this? Need a hand?

    I'm afraid I haven't started anything on this :/ My current workaround is overriding the whole module with my requirements. However, if you want to work on this too, maybe we could find a time to meet and throw some ideas and maybe have a basic PoC, which we can then both work on!

  8. Rudi9719 commented on Nov 21, 2020

    @Rudi9719

    I'm not even sure where to begin; but as a former Gentoo user I'm comfortable with modifying PAM files etc. I'm looking to learn the Nix configurations. Are you on Keybase? I can reach out there and we can get this sorted. I'm going to start reading the links from the initial post

  9. rissson commented on Nov 22, 2020

    @rissson
    Member

    Yes, I'm on keybase (risson), but I don't check it often. Feel free to send me an email though, you should be able to find my email in my commits.

  10. kwohlfahrt commented on Nov 23, 2020

    @kwohlfahrt
    Contributor

    @rissson I'd be interested in helping here - let me know if you run out of time to work on this or would like help with any part of it.

  11. rissson commented on Nov 24, 2020

    @rissson
    Member

    @kwohlfahrt sure! If I start anything anytime soon, I'll put it in a draft PR and link it here.

  12. stale commented on Jun 3, 2021

    @stale

    I marked this as stale due to inactivity. → More info

  13. added
    2.status: stale
    on Jun 3, 2021
  14. removed
    2.status: stale
    on Jun 3, 2021
  15. aanderse commented on Jun 16, 2025

    @aanderse
    Member

    @flokli i would suggest mission accomplished and this issue can be closed now

  16. flokli commented on Jun 17, 2025

    @flokli
    MemberAuthor

    I somehow missed the PR, but yes, indeed this seems fixed.. Thanks everyone!

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: enhancement6.topic: nixos

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions