diff --git a/modules.nix b/modules.nix index e9efa56c..65844af5 100644 --- a/modules.nix +++ b/modules.nix @@ -37,38 +37,6 @@ "The path to the Polykey node state directory. Will default to `/var/lib/polykey`, but can be overwritten to a custom path."; }; }; - programs.polykey = { - enable = mkEnableOption "Enable the per-user Polykey agent."; - - passwordFilePath = mkOption { - type = with types; uniq str; - description = '' - The path to the Polykey password file. This is required to be set for the module to work, otherwise this module will fail. - ''; - }; - - recoveryCodeFilePath = mkOption { - type = with types; uniq str; - default = ""; - description = '' - The path to the Polykey recovery code file. This is not required, but if set will read a recovery code from the provided path to bootstrap a new state with. - ''; - }; - - recoveryCodeOutPath = mkOption { - type = with types; uniq str; - description = '' - The path to the Polykey recovery code file output location. - ''; - }; - - statePath = mkOption { - type = with types; uniq str; - default = "%h/.local/share/polykey"; - description = - "The path to the Polykey node state directory. Will default to `$HOME/.local/share/polykey`, but can be overwritten to a custom path."; - }; - }; }; config = mkIf config.services.polykey.enable { users.groups.polykey = { };