Try without forgejo

This commit is contained in:
hodasemi 2025-05-20 14:36:04 +02:00
parent 64d01718ee
commit d3c1512f70
4 changed files with 33 additions and 33 deletions

View file

@ -21,8 +21,6 @@ in
./shared/dev_user.nix ./shared/dev_user.nix
./shared/docker.nix ./shared/docker.nix
./shared/ssh.nix ./shared/ssh.nix
./dummy-hardware.nix
]; ];
sops = { sops = {

View file

@ -38,9 +38,11 @@
imports = [ imports = [
# ./git_system.nix # ./git_system.nix
inputs.disko.nixosModules.disko inputs.disko.nixosModules.disko
./git_system.nix
./setup/disk_conf.nix ./setup/disk_conf.nix
./setup/mini_conf.nix ./setup/mini_conf.nix
./git_system.nix
{ {
networking.hostId = "0a7337de"; networking.hostId = "0a7337de";
boot.loader.grub.zfsSupport = true; boot.loader.grub.zfsSupport = true;

View file

@ -20,7 +20,7 @@ in
./shared/system.nix ./shared/system.nix
./shared/dev_user.nix ./shared/dev_user.nix
./shared/docker.nix ./shared/docker.nix
./shared/ssh.nix # ./shared/ssh.nix
]; ];
security.acme = { security.acme = {
@ -41,24 +41,24 @@ in
# }; # };
# }; # };
forgejo = { # forgejo = {
enable = true; # enable = true;
database.type = "postgres"; # database.type = "postgres";
lfs.enable = true; # lfs.enable = true;
settings = { # settings = {
server = { # server = {
DOMAIN = "188.40.66.217"; # DOMAIN = "188.40.66.217";
ROOT_URL = "http://${srv.DOMAIN}"; # ROOT_URL = "http://${srv.DOMAIN}";
HTTP_PORT = 3000; # HTTP_PORT = 3000;
SSH_PORT = 62; # SSH_PORT = 62;
}; # };
service.DISABLE_REGISTRATION = true; # service.DISABLE_REGISTRATION = true;
actions = { # actions = {
ENABLED = true; # ENABLED = true;
DEFAULT_ACTIONS_URL = "github"; # DEFAULT_ACTIONS_URL = "github";
}; # };
}; # };
}; # };
renovate = { renovate = {
enable = true; enable = true;

View file

@ -1,17 +1,17 @@
{ config, lib, pkgs, modulesPath, ... }: { config, lib, pkgs, modulesPath, ... }:
{ {
services = { services = {
# endlessh = { endlessh = {
# enable = true; enable = true;
# port = 22; port = 22;
# }; };
# openssh = { openssh = {
# enable = true; enable = true;
# ports = [ 22 23 ]; ports = [ 23 ];
# # settings = { settings = {
# # AllowUsers = [ "dev" ]; AllowUsers = [ "dev" ];
# # }; };
# }; };
}; };
} }