mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 17:54:08 -05:00
gitlab broke?
This commit is contained in:
parent
74c87f7e1a
commit
f8f4d276ea
3 changed files with 5 additions and 38 deletions
|
|
@ -10,6 +10,5 @@
|
|||
./frigate.nix
|
||||
./trilium.nix
|
||||
./grocy.nix
|
||||
./gitlab.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,31 +0,0 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
lib.mkIf config.user.overseer.enable {
|
||||
sops = {
|
||||
secrets = {
|
||||
"gitlab/db_password" = {};
|
||||
"gitlab/secrets/db" = {};
|
||||
"gitlab/secrets/jws" = {};
|
||||
"gitlab/secrets/otp" = {};
|
||||
"gitlab/secrets/secret" = {};
|
||||
};
|
||||
};
|
||||
|
||||
services.gitlab = {
|
||||
enable = true;
|
||||
host = "git.wanderingcrow.net";
|
||||
https = true;
|
||||
databaseCreateLocally = true;
|
||||
databasePasswordFile = config.sops.secrets."gitlab/db_password";
|
||||
initialRootPasswordFile = config.sops.secrets."gitlab/initial_root";
|
||||
secrets = {
|
||||
secretFile = config.sops.secrets."gitlab/secrets/secret";
|
||||
otpFile = config.sops.secrets."gitlab/secrets/otp";
|
||||
jwsFile = config.sops.secrets."gitlab/secrets/jws";
|
||||
dbFile = config.sops.secrets."gitlab/secrets/db";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -32,13 +32,12 @@ in
|
|||
nginx.enableSSL = false;
|
||||
};
|
||||
|
||||
virtualisation.oci-containers.containers.barcodebuddy = {
|
||||
image = "f0rc3/barcodebuddy:latest";
|
||||
volumes = ["${volumePath}/barcodebuddy:/config"];
|
||||
virtualisation.oci-containers.containers = {
|
||||
barcodebuddy = {
|
||||
image = "f0rc3/barcodebuddy:latest";
|
||||
volumes = ["${volumePath}/barcodebuddy:/config"];
|
||||
|
||||
extraOptions = ["--ip=10.88.0.11" "--device=/dev/input/by-id/usb-0581_011c-event-kbd"];
|
||||
environment = {
|
||||
ATTACH_BARCODESCANNER = "true";
|
||||
extraOptions = ["--ip=10.88.0.11"];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue