Fix all the flake check problems

Fixes all of the problems with nix flake check, including reformatting
all the things cleanup on shell and configuration
This commit is contained in:
Greg Hellings
2024-10-19 01:41:53 -05:00
parent a71eb7485a
commit 7471e6dd5c
7 changed files with 33 additions and 35 deletions
+1 -17
View File
@@ -1,11 +1,7 @@
{ pkgs, ... }:
{ ... }:
let
wikiHost = "wiki.icdm.lan";
kiwixport = 8080;
dependents = with pkgs; [
enwiki-dump
transmission
];
in
{
services.kiwix-serve = {
@@ -14,18 +10,6 @@ in
path = "/srv/zims/*.zim";
};
services.transmission = {
enable = true;
settings = {
download-dir = "/srv";
incomplete-dir = "/srv/incomplete";
rpc-bind-address = "0.0.0.0";
rpc-whitelist = "10.42.*,127.*,localhost";
};
};
greg.proxies."${wikiHost}".target = "http://localhost:${toString kiwixport}";
networking.firewall.allowedTCPPorts = [ 80 ];
environment.systemPackages = dependents;
}
+1 -1
View File
@@ -47,7 +47,7 @@
[
# for Immersed
cudatoolkit
immersed-vr
immersed
libva
]
[
+1
View File
@@ -216,6 +216,7 @@ in
systemd.services = {
nginx = rec {
after = [ "network-online.target" ];
requires = [ "network-online.target" ];
wants = after;
serviceConfig = {
RestartMaxDelaySec = "30s";
+6 -3
View File
@@ -45,7 +45,10 @@ in
age.secrets.runner-reg.file = ../../secrets/gitlab/myself-podman-runner-reg.age;
age.secrets.docker-auth.file = ../../secrets/gitlab/docker-auth.age;
age.secrets.runner-qemu.file = ../../secrets/gitlab/myself-qemu-runner-reg.age;
systemd.services.gitlab-runner.after = [ "network-online.target" ];
systemd.services.gitlab-runner = {
after = [ "network-online.target" ];
requires = [ "network-online.target" ];
};
services.gitlab-runner = {
enable = true;
settings = {
@@ -54,7 +57,7 @@ in
services = {
default = {
executor = "docker";
registrationConfigFile = config.age.secrets.runner-reg.path;
authenticationTokenConfigFile = config.age.secrets.runner-reg.path;
dockerImage = "gitlab.shire-zebra.ts.net:5000/greg/ci-images/fedora:latest";
dockerAllowedImages = [
"alpine:*"
@@ -81,7 +84,7 @@ in
qemu = {
executor = "shell";
limit = 5;
registrationConfigFile = config.age.secrets.runner-qemu.path;
authenticationTokenConfigFile = config.age.secrets.runner-qemu.path;
environmentVariables = {
EFI_DIR = "${pkgs.OVMF.fd}/FV/";
STORAGE_URL = "http://s3.thehellings.lan:9000";