style: Use RFC formatter

This commit is contained in:
Inex Code
2025-05-02 15:27:17 +03:00
committed by nhnn
parent 63a0d84701
commit d94b82e7fa
2 changed files with 23 additions and 23 deletions

View File

@@ -153,6 +153,6 @@
) sp-modules; ) sp-modules;
}; };
}; };
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixpkgs-fmt; formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixfmt-rfc-style;
}; };
} }

View File

@@ -112,30 +112,30 @@ in
weight = 3; weight = 3;
}; };
}; };
debug = debug =
(lib.mkOption { (lib.mkOption {
default = false; default = false;
type = lib.types.bool; type = lib.types.bool;
description = "Enable debug logging"; description = "Enable debug logging";
}) })
// { // {
meta = { meta = {
type = "bool"; type = "bool";
weight = 4; weight = 4;
};
}; };
}; disableMaintenanceModeAtStart =
disableMaintenanceModeAtStart = (lib.mkOption {
(lib.mkOption { type = types.bool;
type = types.bool; default = false;
default = false; description = "Disable maintenance mode at Nextcloud service startup";
description = "Disable maintenance mode at Nextcloud service startup"; })
}) // {
// { meta = {
meta = { type = "bool";
type = "bool"; weight = 5;
weight = 5; };
}; };
};
}; };
# config = lib.mkIf sp.modules.nextcloud.enable # config = lib.mkIf sp.modules.nextcloud.enable