nix fmt
This commit is contained in:
parent
ec219285e9
commit
4c17e30aa8
4 changed files with 56 additions and 48 deletions
11
flake.nix
11
flake.nix
|
@ -69,10 +69,14 @@
|
|||
(overlayPkgsFromFlake inputs.nixpkgs-stable [
|
||||
# "prometheus" # fails to build on unstable
|
||||
])
|
||||
(final: prev: {
|
||||
(_final: prev: {
|
||||
conduwuit = prev.conduwuit.override (old: {
|
||||
rustPlatform = old.rustPlatform // {
|
||||
buildRustPackage = args: old.rustPlatform.buildRustPackage (args // {
|
||||
buildRustPackage =
|
||||
args:
|
||||
old.rustPlatform.buildRustPackage (
|
||||
args
|
||||
// {
|
||||
version = "0.4.6";
|
||||
src = prev.fetchFromGitHub {
|
||||
owner = "girlbossceo";
|
||||
|
@ -82,7 +86,8 @@
|
|||
};
|
||||
cargoHash = "sha256-5KXFei6A12QrFattkbDZM2LuLueV+aKunDgy6ZAaF7E=";
|
||||
doCheck = false;
|
||||
});
|
||||
}
|
||||
);
|
||||
};
|
||||
});
|
||||
})
|
||||
|
|
|
@ -80,7 +80,11 @@ api.nvim_create_autocmd("FileType", {
|
|||
local status, result = pcall(api.nvim_win_set_cursor, 0, mark_pos)
|
||||
if not status then
|
||||
api.nvim_err_writeln(
|
||||
string.format("Failed to resume cursor position. Context %s, error: %s", vim.inspect(ev), result)
|
||||
string.format(
|
||||
"Failed to resume cursor position. Context %s, error: %s",
|
||||
vim.inspect(ev),
|
||||
result
|
||||
)
|
||||
)
|
||||
end
|
||||
end)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{config, ...}:
|
||||
{ config, ... }:
|
||||
{
|
||||
services.atticd = {
|
||||
enable = true;
|
||||
|
|
|
@ -17,8 +17,7 @@
|
|||
name = "atticd";
|
||||
ensureDBOwnership = true;
|
||||
}
|
||||
]
|
||||
;
|
||||
];
|
||||
};
|
||||
services.postgresqlBackup = {
|
||||
enable = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue