This commit is contained in:
Hadi
2024-06-23 14:19:45 +02:00
parent d1f5aa6dfa
commit 6f8c9d7836
7 changed files with 98 additions and 331 deletions

View File

@@ -8,7 +8,7 @@ in {
enable = true;
config = {
DOMAIN = url;
SIGNUPS_ALLOWED = false;
SIGNUPS_ALLOWED = true;
ROCKET_ADDRESS = "127.0.0.1";
ROCKET_PORT = port;
ROCKET_LOG = "critical";

View File

@@ -1,4 +1,4 @@
{ pkgs, lib, ... }:
{ pkgs, config, ... }:
let
settings = ''
{
@@ -7,10 +7,10 @@ let
"openLinksInNewTab": false,
"locale": "fr-FR",
"colors": {
"primary": "#89b4fa",
"background": "#01010b",
"foreground": "#cdd6f4",
"muted": "#313244"
"primary": "#${config.var.theme.colors.accent}",
"background": "#${config.var.theme.colors.bg}",
"foreground": "#${config.var.theme.colors.fg}",
"muted": "#${config.var.theme.colors.c8}"
},
"folders": [
{

View File

@@ -1,4 +1,4 @@
{ pkgs, lib, ... }:
{ pkgs, config, ... }:
let
settings = ''
{
@@ -7,10 +7,10 @@ let
"openLinksInNewTab": false,
"locale": "fr-FR",
"colors": {
"primary": "#89b4fa",
"background": "#01010b",
"foreground": "#cdd6f4",
"muted": "#313244"
"primary": "#${config.var.theme.colors.accent}",
"background": "#${config.var.theme.colors.bg}",
"foreground": "#${config.var.theme.colors.fg}",
"muted": "#${config.var.theme.colors.c8}"
},
"folders": [
{