style: Use RFC formatter
This commit is contained in:
@@ -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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user