diff --git a/flake.nix b/flake.nix index aad893c..058dc05 100644 --- a/flake.nix +++ b/flake.nix @@ -153,6 +153,6 @@ ) 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; }; } diff --git a/sp-modules/nextcloud/module.nix b/sp-modules/nextcloud/module.nix index 5a18968..313431a 100644 --- a/sp-modules/nextcloud/module.nix +++ b/sp-modules/nextcloud/module.nix @@ -112,30 +112,30 @@ in weight = 3; }; }; - debug = - (lib.mkOption { - default = false; - type = lib.types.bool; - description = "Enable debug logging"; - }) - // { - meta = { - type = "bool"; - weight = 4; + debug = + (lib.mkOption { + default = false; + type = lib.types.bool; + description = "Enable debug logging"; + }) + // { + meta = { + type = "bool"; + weight = 4; + }; }; - }; - disableMaintenanceModeAtStart = - (lib.mkOption { - type = types.bool; - default = false; - description = "Disable maintenance mode at Nextcloud service startup"; - }) - // { - meta = { - type = "bool"; - weight = 5; + disableMaintenanceModeAtStart = + (lib.mkOption { + type = types.bool; + default = false; + description = "Disable maintenance mode at Nextcloud service startup"; + }) + // { + meta = { + type = "bool"; + weight = 5; + }; }; - }; }; # config = lib.mkIf sp.modules.nextcloud.enable