mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 20:39:18 -08:00
16 lines
396 B
Nix
16 lines
396 B
Nix
{lib, ...}: let
|
|
inherit (lib.types) submodule loaOf;
|
|
inherit (lib.modules) mkDefault mkAfter;
|
|
inherit (lib.options) mkOption;
|
|
in {
|
|
options.security.pam.services = mkOption {
|
|
type = loaOf (submodule {
|
|
config.text = mkDefault (mkAfter "session required pam_keyinit.so force revoke");
|
|
});
|
|
};
|
|
config = {
|
|
boot = {
|
|
supportedFilesystems = ["bcachefs"];
|
|
};
|
|
};
|
|
}
|