Compare commits

..

2 commits

Author SHA1 Message Date
2df5c203d5
flake.nix: switch to sora helix fork 2024-05-27 10:24:14 -04:00
d2c9754e49
redis: switch to valkey 2024-05-27 10:24:01 -04:00
3 changed files with 54 additions and 50 deletions

View file

@ -613,15 +613,16 @@
"rust-overlay": "rust-overlay_2" "rust-overlay": "rust-overlay_2"
}, },
"locked": { "locked": {
"lastModified": 1716772960, "lastModified": 1712452625,
"narHash": "sha256-cwrUFiul36bZSjp1tly4N/BF7utHXcIAbw7ppRXwSDo=", "narHash": "sha256-30VCYDyEk2onSvf8BaXyI9IlgDNaUB6nbrmUZwbYuP0=",
"owner": "helix-editor", "owner": "SoraTenshi",
"repo": "helix", "repo": "helix",
"rev": "730e684d1dca5736cca41ae336d56962a57b9cfe", "rev": "fca5a8c846ff225ecdd50d20ab5a5cd2739aa66c",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "helix-editor", "owner": "SoraTenshi",
"ref": "new-daily-driver",
"repo": "helix", "repo": "helix",
"type": "github" "type": "github"
} }

View file

@ -72,7 +72,7 @@
attic.url = "github:zhaofengli/attic"; attic.url = "github:zhaofengli/attic";
nur.url = "github:nix-community/NUR"; nur.url = "github:nix-community/NUR";
yazi.url = "github:sxyazi/yazi"; yazi.url = "github:sxyazi/yazi";
helix.url = "github:helix-editor/helix"; helix.url = "github:SoraTenshi/helix/new-daily-driver";
pre-commit-hooks.url = "github:cachix/pre-commit-hooks.nix"; pre-commit-hooks.url = "github:cachix/pre-commit-hooks.nix";
nixos-hardware.url = "github:NixOS/nixos-hardware/master"; nixos-hardware.url = "github:NixOS/nixos-hardware/master";
atuin.url = "github:atuinsh/atuin"; atuin.url = "github:atuinsh/atuin";

View file

@ -1,52 +1,55 @@
{pkgs, ...}: { {pkgs, ...}: {
environment.systemPackages = [pkgs.redis-dump]; environment.systemPackages = [pkgs.redis-dump];
services.redis.servers = { services.redis = {
forgejo = { package = pkgs.valkey;
enable = true; servers = {
openFirewall = true; forgejo = {
port = 6379; enable = true;
bind = null; openFirewall = true;
databases = 16; port = 6379;
logLevel = "debug"; bind = null;
requirePass = "forgejo"; databases = 16;
settings = { logLevel = "debug";
protected-mode = "no"; requirePass = "forgejo";
settings = {
protected-mode = "no";
};
}; };
}; searxng = {
searxng = { enable = true;
enable = true; openFirewall = true;
openFirewall = true; port = 6380;
port = 6380; bind = null;
bind = null; databases = 16;
databases = 16; logLevel = "debug";
logLevel = "debug"; requirePass = "searxng";
requirePass = "searxng"; settings = {
settings = { protected-mode = "no";
protected-mode = "no"; };
}; };
}; blocky = {
blocky = { enable = true;
enable = true; openFirewall = true;
openFirewall = true; port = 6381;
port = 6381; bind = null;
bind = null; databases = 16;
databases = 16; logLevel = "debug";
logLevel = "debug"; requirePass = "blocky";
requirePass = "blocky"; settings = {
settings = { protected-mode = "no";
protected-mode = "no"; };
}; };
}; paperless-ngx = {
paperless-ngx = { enable = true;
enable = true; openFirewall = true;
openFirewall = true; port = 6382;
port = 6382; bind = null;
bind = null; databases = 16;
databases = 16; logLevel = "debug";
logLevel = "debug"; requirePass = "paperless-ngx";
requirePass = "paperless-ngx"; settings = {
settings = { protected-mode = "no";
protected-mode = "no"; };
}; };
}; };
}; };