Skip to content

Commit

Permalink
wip: removed unecessary module
Browse files Browse the repository at this point in the history
  • Loading branch information
brynblack committed Aug 22, 2024
1 parent faed15c commit ba11c82
Showing 1 changed file with 0 additions and 32 deletions.
32 changes: 0 additions & 32 deletions modules.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = { };
Expand Down

0 comments on commit ba11c82

Please sign in to comment.