Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nixos/pam: assemble via the module system #90640

Open
flokli opened this issue Jun 16, 2020 · 9 comments
Open

nixos/pam: assemble via the module system #90640

flokli opened this issue Jun 16, 2020 · 9 comments
Labels
0.kind: enhancement Add something new 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS

Comments

@flokli
Copy link
Contributor

flokli commented Jun 16, 2020

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:

@flokli flokli added the 0.kind: bug Something is broken label Jun 16, 2020
@veprbl veprbl added the 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS label Jun 16, 2020
@dasJ dasJ added 0.kind: enhancement Add something new and removed 0.kind: bug Something is broken labels Jun 18, 2020
@rissson
Copy link
Member

rissson commented Oct 8, 2020

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

@flokli
Copy link
Contributor Author

flokli commented Oct 11, 2020

Please do! :-)

@Rudi9719
Copy link

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

@rissson
Copy link
Member

rissson commented Nov 21, 2020

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!

@Rudi9719
Copy link

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

@rissson
Copy link
Member

rissson commented Nov 22, 2020

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.

@kwohlfahrt
Copy link
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.

@rissson
Copy link
Member

rissson commented Nov 24, 2020

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

@stale
Copy link

stale bot commented Jun 3, 2021

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

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jun 3, 2021
@rissson rissson removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jun 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: enhancement Add something new 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS
Projects
None yet
Development

No branches or pull requests

6 participants