Try without forgejo
This commit is contained in:
parent
64d01718ee
commit
d3c1512f70
4 changed files with 33 additions and 33 deletions
|
@ -21,8 +21,6 @@ in
|
|||
./shared/dev_user.nix
|
||||
./shared/docker.nix
|
||||
./shared/ssh.nix
|
||||
|
||||
./dummy-hardware.nix
|
||||
];
|
||||
|
||||
sops = {
|
||||
|
|
|
@ -38,9 +38,11 @@
|
|||
imports = [
|
||||
# ./git_system.nix
|
||||
inputs.disko.nixosModules.disko
|
||||
|
||||
./git_system.nix
|
||||
|
||||
./setup/disk_conf.nix
|
||||
./setup/mini_conf.nix
|
||||
./git_system.nix
|
||||
{
|
||||
networking.hostId = "0a7337de";
|
||||
boot.loader.grub.zfsSupport = true;
|
||||
|
|
|
@ -20,7 +20,7 @@ in
|
|||
./shared/system.nix
|
||||
./shared/dev_user.nix
|
||||
./shared/docker.nix
|
||||
./shared/ssh.nix
|
||||
# ./shared/ssh.nix
|
||||
];
|
||||
|
||||
security.acme = {
|
||||
|
@ -41,24 +41,24 @@ in
|
|||
# };
|
||||
# };
|
||||
|
||||
forgejo = {
|
||||
enable = true;
|
||||
database.type = "postgres";
|
||||
lfs.enable = true;
|
||||
settings = {
|
||||
server = {
|
||||
DOMAIN = "188.40.66.217";
|
||||
ROOT_URL = "http://${srv.DOMAIN}";
|
||||
HTTP_PORT = 3000;
|
||||
SSH_PORT = 62;
|
||||
};
|
||||
service.DISABLE_REGISTRATION = true;
|
||||
actions = {
|
||||
ENABLED = true;
|
||||
DEFAULT_ACTIONS_URL = "github";
|
||||
};
|
||||
};
|
||||
};
|
||||
# forgejo = {
|
||||
# enable = true;
|
||||
# database.type = "postgres";
|
||||
# lfs.enable = true;
|
||||
# settings = {
|
||||
# server = {
|
||||
# DOMAIN = "188.40.66.217";
|
||||
# ROOT_URL = "http://${srv.DOMAIN}";
|
||||
# HTTP_PORT = 3000;
|
||||
# SSH_PORT = 62;
|
||||
# };
|
||||
# service.DISABLE_REGISTRATION = true;
|
||||
# actions = {
|
||||
# ENABLED = true;
|
||||
# DEFAULT_ACTIONS_URL = "github";
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
|
||||
renovate = {
|
||||
enable = true;
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
{
|
||||
services = {
|
||||
# endlessh = {
|
||||
# enable = true;
|
||||
# port = 22;
|
||||
# };
|
||||
endlessh = {
|
||||
enable = true;
|
||||
port = 22;
|
||||
};
|
||||
|
||||
# openssh = {
|
||||
# enable = true;
|
||||
# ports = [ 22 23 ];
|
||||
# # settings = {
|
||||
# # AllowUsers = [ "dev" ];
|
||||
# # };
|
||||
# };
|
||||
openssh = {
|
||||
enable = true;
|
||||
ports = [ 23 ];
|
||||
settings = {
|
||||
AllowUsers = [ "dev" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue