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"
},
"locked": {
"lastModified": 1716772960,
"narHash": "sha256-cwrUFiul36bZSjp1tly4N/BF7utHXcIAbw7ppRXwSDo=",
"owner": "helix-editor",
"lastModified": 1712452625,
"narHash": "sha256-30VCYDyEk2onSvf8BaXyI9IlgDNaUB6nbrmUZwbYuP0=",
"owner": "SoraTenshi",
"repo": "helix",
"rev": "730e684d1dca5736cca41ae336d56962a57b9cfe",
"rev": "fca5a8c846ff225ecdd50d20ab5a5cd2739aa66c",
"type": "github"
},
"original": {
"owner": "helix-editor",
"owner": "SoraTenshi",
"ref": "new-daily-driver",
"repo": "helix",
"type": "github"
}

View file

@ -72,7 +72,7 @@
attic.url = "github:zhaofengli/attic";
nur.url = "github:nix-community/NUR";
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";
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
atuin.url = "github:atuinsh/atuin";

View file

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