some refactoring
This commit is contained in:
@@ -4,10 +4,10 @@
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
cfg = config.modules.userd.syncthing;
|
||||
cfg = config.userModules.userd.syncthing;
|
||||
in {
|
||||
options = {
|
||||
modules.userd.syncthing.enable = mkEnableOption "Enables syncthing";
|
||||
userModules.userd.syncthing.enable = mkEnableOption "Enables syncthing";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
services.syncthing = {
|
||||
|
||||
Reference in New Issue
Block a user