This commit is contained in:
cy 2025-01-10 23:17:27 -05:00
parent a9b4fab153
commit c4cda77be8
7 changed files with 15 additions and 17 deletions

View file

@ -143,7 +143,7 @@
home = "/var/lib/forgejo";
group = "git";
};
users.groups.git = {};
users.groups.git = { };
environment.systemPackages = with pkgs; [
vim

View file

@ -1,4 +1,4 @@
{...}:
{ ... }:
{
services.forgejo = {
enable = true;

View file

@ -5,7 +5,10 @@
experimental-features = "nix-command flakes";
auto-optimise-store = true;
flake-registry = "";
trusted-users = [ "root" "@wheel" ];
trusted-users = [
"root"
"@wheel"
];
trusted-public-keys = [ "central:uWhjva6m6dhC2hqNisjn2hXGvdGBs19vPkA1dPEuwFg=" ];
substituters = [ "https://cache.cything.io/central" ];
};
@ -21,8 +24,8 @@
options = "--delete-older-than 14d";
};
extraOptions = ''
builders-use-substitutes = true
'';
builders-use-substitutes = true
'';
};
time.timeZone = "America/Toronto";
networking.firewall.logRefusedConnections = false;