Compare commits

..

6 commits

Author SHA1 Message Date
Fiscal Velvet Poet eadae376a7
Merge branch 'nixos-24.05' into consensus 2024-06-05 23:08:27 +10:00
Fiscal Velvet Poet fcabd95e7e
forgejo: updated deprecated psql setting to DEFAULT.APP_NAME 2024-06-05 23:07:10 +10:00
Fiscal Velvet Poet 3662f9f588
forgejo: updated deprecated setting to ensureDBOwnership 2024-06-05 22:14:54 +10:00
Fiscal Velvet Poet 1fb99ab958
pi3: remove deprecated uboot setting 2024-06-05 22:00:46 +10:00
Fiscal Velvet Poet 5fd853e234
nixpkgsUnstable: bumped to HEAD of nixos-unstable 2024-06-05 21:53:37 +10:00
Fiscal Velvet Poet f20358789f
nixos: bumped to HEAD of 24.05 2024-06-05 21:51:48 +10:00
4 changed files with 10 additions and 14 deletions

View file

@ -197,11 +197,11 @@
},
"nixpkgsUnstable": {
"locked": {
"lastModified": 1716293225,
"narHash": "sha256-pU9ViBVE3XYb70xZx+jK6SEVphvt7xMTbm6yDIF4xPs=",
"lastModified": 1717196966,
"narHash": "sha256-yZKhxVIKd2lsbOqYd5iDoUIwsRZFqE87smE2Vzf6Ck0=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "3eaeaeb6b1e08a016380c279f8846e0bd8808916",
"rev": "57610d2f8f0937f39dbd72251e9614b1561942d8",
"type": "github"
},
"original": {
@ -213,16 +213,16 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1716633019,
"narHash": "sha256-xim1b5/HZYbWaZKyI7cn9TJCM6ewNVZnesRr00mXeS4=",
"lastModified": 1717281328,
"narHash": "sha256-evZPzpf59oNcDUXxh2GHcxHkTEG4fjae2ytWP85jXRo=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "9d29cd266cebf80234c98dd0b87256b6be0af44e",
"rev": "b3b2b28c1daa04fe2ae47c21bb76fd226eac4ca1",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-23.11",
"ref": "nixos-24.05",
"repo": "nixpkgs",
"type": "github"
}

View file

@ -19,7 +19,7 @@
flake = false;
url = git+https://reciproka.dev/resrok/resrok-web/?ref=consensus;
};
nixpkgs.url = github:NixOS/nixpkgs/?ref=nixos-23.11;
nixpkgs.url = github:NixOS/nixpkgs/?ref=nixos-24.05;
nixpkgsUnstable.url = github:NixOS/nixpkgs/?ref=nixos-unstable;
utils.url = "github:numtide/flake-utils";
voc-web = {

View file

@ -31,7 +31,6 @@
raspberryPi = {
enable = false;
version = 3;
uboot.enable = true;
firmwareConfig = ''
arm_64bit=1 # Force kernel loading system to assume a 64-bit kernel
display_auto_detect=1 # Enable auto detection of screen resolution

View file

@ -19,6 +19,7 @@ in {
httpPort = 3002; # Provided unique port
rootUrl = "https://reciproka.dev/"; # Root web URL
settings = let
DEFAULT.APP_NAME = "Reciproka Kolektivo: Forgejo Service"; # Give the site a name
server = {
DOMAIN = "reciproka.dev"; # Domain name
HTTP_PORT = 3002; # Provided unique port
@ -73,11 +74,7 @@ in {
ensureUsers = [
{
name = "forgejo"; # Ensure the database user persists
ensurePermissions = {
# Ensure the database permissions persist
"DATABASE forgejo" = "ALL PRIVILEGES";
"ALL TABLES IN SCHEMA public" = "ALL PRIVILEGES";
};
ensureDBOwnership = true;
}
];
package = pkgs.postgresql_16;