Skip to content

Commit b6ac336

Browse files
committed
feat: default module file paths
1 parent a901228 commit b6ac336

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

modules.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
passwordFilePath = mkOption {
1212
type = with types; uniq str;
13+
default = "/root/.pkpass";
1314
description = ''
1415
The path to the Polykey password file. This is required to be set for the module to work, otherwise this module will fail.
1516
'';
@@ -25,6 +26,7 @@
2526

2627
recoveryCodeOutPath = mkOption {
2728
type = with types; uniq str;
29+
default = "/root/.recoveryout";
2830
description = ''
2931
The path to the Polykey recovery code file output location.
3032
'';
@@ -89,6 +91,7 @@
8991

9092
passwordFilePath = mkOption {
9193
type = with types; uniq str;
94+
default = "%h/.pkpass";
9295
description = ''
9396
The path to the Polykey password file. This is required to be set for the module to work, otherwise this module will fail.
9497
'';
@@ -104,6 +107,7 @@
104107

105108
recoveryCodeOutPath = mkOption {
106109
type = with types; uniq str;
110+
default = "%h/.recoveryout";
107111
description = ''
108112
The path to the Polykey recovery code file output location.
109113
'';

0 commit comments

Comments
 (0)