Compare commits
No commits in common. "eadae376a76b034e1f6b6daeabb8c1cdc792e6ab" and "6e924f3ba4dec01fcf536f58dbc68525e352eac7" have entirely different histories.
eadae376a7
...
6e924f3ba4
14
flake.lock
14
flake.lock
|
@ -197,11 +197,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgsUnstable": {
|
"nixpkgsUnstable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1717196966,
|
"lastModified": 1716293225,
|
||||||
"narHash": "sha256-yZKhxVIKd2lsbOqYd5iDoUIwsRZFqE87smE2Vzf6Ck0=",
|
"narHash": "sha256-pU9ViBVE3XYb70xZx+jK6SEVphvt7xMTbm6yDIF4xPs=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "57610d2f8f0937f39dbd72251e9614b1561942d8",
|
"rev": "3eaeaeb6b1e08a016380c279f8846e0bd8808916",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -213,16 +213,16 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1717281328,
|
"lastModified": 1716633019,
|
||||||
"narHash": "sha256-evZPzpf59oNcDUXxh2GHcxHkTEG4fjae2ytWP85jXRo=",
|
"narHash": "sha256-xim1b5/HZYbWaZKyI7cn9TJCM6ewNVZnesRr00mXeS4=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "b3b2b28c1daa04fe2ae47c21bb76fd226eac4ca1",
|
"rev": "9d29cd266cebf80234c98dd0b87256b6be0af44e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"ref": "nixos-24.05",
|
"ref": "nixos-23.11",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
flake = false;
|
flake = false;
|
||||||
url = git+https://reciproka.dev/resrok/resrok-web/?ref=consensus;
|
url = git+https://reciproka.dev/resrok/resrok-web/?ref=consensus;
|
||||||
};
|
};
|
||||||
nixpkgs.url = github:NixOS/nixpkgs/?ref=nixos-24.05;
|
nixpkgs.url = github:NixOS/nixpkgs/?ref=nixos-23.11;
|
||||||
nixpkgsUnstable.url = github:NixOS/nixpkgs/?ref=nixos-unstable;
|
nixpkgsUnstable.url = github:NixOS/nixpkgs/?ref=nixos-unstable;
|
||||||
utils.url = "github:numtide/flake-utils";
|
utils.url = "github:numtide/flake-utils";
|
||||||
voc-web = {
|
voc-web = {
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
raspberryPi = {
|
raspberryPi = {
|
||||||
enable = false;
|
enable = false;
|
||||||
version = 3;
|
version = 3;
|
||||||
|
uboot.enable = true;
|
||||||
firmwareConfig = ''
|
firmwareConfig = ''
|
||||||
arm_64bit=1 # Force kernel loading system to assume a 64-bit kernel
|
arm_64bit=1 # Force kernel loading system to assume a 64-bit kernel
|
||||||
display_auto_detect=1 # Enable auto detection of screen resolution
|
display_auto_detect=1 # Enable auto detection of screen resolution
|
||||||
|
|
|
@ -19,7 +19,6 @@ in {
|
||||||
httpPort = 3002; # Provided unique port
|
httpPort = 3002; # Provided unique port
|
||||||
rootUrl = "https://reciproka.dev/"; # Root web URL
|
rootUrl = "https://reciproka.dev/"; # Root web URL
|
||||||
settings = let
|
settings = let
|
||||||
DEFAULT.APP_NAME = "Reciproka Kolektivo: Forgejo Service"; # Give the site a name
|
|
||||||
server = {
|
server = {
|
||||||
DOMAIN = "reciproka.dev"; # Domain name
|
DOMAIN = "reciproka.dev"; # Domain name
|
||||||
HTTP_PORT = 3002; # Provided unique port
|
HTTP_PORT = 3002; # Provided unique port
|
||||||
|
@ -74,7 +73,11 @@ in {
|
||||||
ensureUsers = [
|
ensureUsers = [
|
||||||
{
|
{
|
||||||
name = "forgejo"; # Ensure the database user persists
|
name = "forgejo"; # Ensure the database user persists
|
||||||
ensureDBOwnership = true;
|
ensurePermissions = {
|
||||||
|
# Ensure the database permissions persist
|
||||||
|
"DATABASE forgejo" = "ALL PRIVILEGES";
|
||||||
|
"ALL TABLES IN SCHEMA public" = "ALL PRIVILEGES";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
package = pkgs.postgresql_16;
|
package = pkgs.postgresql_16;
|
||||||
|
|
Loading…
Reference in a new issue