Refactor home modules into config + options
This commit is contained in:
17
home/modules/misc/options.nix
Normal file
17
home/modules/misc/options.nix
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
lib
|
||||
}:
|
||||
with lib;
|
||||
{
|
||||
enable = mkEnableOpt "Misc module";
|
||||
|
||||
keepass = {
|
||||
enable = mkEnableOpt "KeePassXC";
|
||||
autostart = mkBoolOpt false "Autostart KeePassXC";
|
||||
};
|
||||
|
||||
protonmail = {
|
||||
enable = mkEnableOpt "ProtonMail";
|
||||
autostart = mkBoolOpt false "Autostart ProtonMail Bridge";
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user