add man pages and nix fmt

This commit is contained in:
cy 2024-12-22 14:12:25 -05:00
parent 38e6ccf9c1
commit 0c749f2d3c
3 changed files with 23 additions and 12 deletions

View file

@ -1,4 +1,4 @@
{ ... }: { pkgs, ... }:
{ {
imports = [ imports = [
../tmux.nix ../tmux.nix
@ -12,4 +12,11 @@
xdg.configFile = { xdg.configFile = {
nvim.source = ../nvim; nvim.source = ../nvim;
}; };
home.packages = with pkgs; [
man-pages
man-pages-posix
man
man-db
];
} }

View file

@ -1,7 +1,8 @@
{pkgs, ...}: { { pkgs, ... }:
{
services.conduwuit = { services.conduwuit = {
enable = true; enable = true;
package = pkgs.callPackage ../../pkgs/conduwuit.nix {}; package = pkgs.callPackage ../../pkgs/conduwuit.nix { };
settings.global = { settings.global = {
port = [ 8448 ]; port = [ 8448 ];
server_name = "cything.io"; server_name = "cything.io";

View file

@ -80,15 +80,18 @@ rustPlatform.buildRustPackage rec {
# for available features. # for available features.
# We enable all default features except jemalloc and io_uring, which # We enable all default features except jemalloc and io_uring, which
# we guard behind our own (default-enabled) flags. # we guard behind our own (default-enabled) flags.
buildFeatures = [ buildFeatures =
"brotli_compression" [
"element_hacks" "brotli_compression"
"gzip_compression" "element_hacks"
"release_max_log_level" "gzip_compression"
"sentry_telemetry" "release_max_log_level"
"systemd" "sentry_telemetry"
"zstd_compression" "systemd"
] ++ lib.optional enableJemalloc "jemalloc" ++ lib.optional enableLiburing "io_uring"; "zstd_compression"
]
++ lib.optional enableJemalloc "jemalloc"
++ lib.optional enableLiburing "io_uring";
passthru = { passthru = {
updateScript = nix-update-script { }; updateScript = nix-update-script { };