1
1
Fork 0

Update empyrean configs to 23.05

This commit is contained in:
Jaculabilis 2023-06-09 20:59:09 +00:00
parent e8a7aae12e
commit f252a38b1b
3 changed files with 11 additions and 10 deletions

View File

@ -17,7 +17,7 @@
system = "aarch64-linux"; system = "aarch64-linux";
modules = [ ./machine/catacomb ]; modules = [ ./machine/catacomb ];
}; };
empyrean = nixpkgs.lib.nixosSystem { empyrean = nixpkgs-next.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ ./machine/empyrean ]; modules = [ ./machine/empyrean ];
}; };

View File

@ -18,7 +18,6 @@
# Use the GRUB 2 boot loader. # Use the GRUB 2 boot loader.
boot.loader.grub = { boot.loader.grub = {
enable = true; enable = true;
version = 2;
device = "/dev/xvda"; device = "/dev/xvda";
extraConfig = "serial --unit=0 --speed=115200 ; terminal_input serial console ; terminal_output serial console"; extraConfig = "serial --unit=0 --speed=115200 ; terminal_input serial console ; terminal_output serial console";
}; };
@ -115,8 +114,8 @@
services.openssh = { services.openssh = {
enable = true; enable = true;
passwordAuthentication = false; settings.PasswordAuthentication = false;
permitRootLogin = "prohibit-password"; settings.PermitRootLogin = "prohibit-password";
}; };
services.tinc.networks.beatific = { services.tinc.networks.beatific = {
@ -180,7 +179,7 @@
# this value at the release version of the first install of this system. # this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option # Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "20.03"; # Did you read the comment? system.stateVersion = "23.05"; # Did you read the comment?
} }

View File

@ -5,12 +5,7 @@
{ {
# Gitea configuration # Gitea configuration
services.gitea = { services.gitea = {
# Enable Gitea and configure for reverse proxy
enable = true; enable = true;
httpAddress = "127.0.0.1";
httpPort = 3300;
domain = "git.alogoulogoi.com";
rootUrl = "https://git.alogoulogoi.com/";
#useWizard = true; # Needed for first-time building #useWizard = true; # Needed for first-time building
@ -22,6 +17,13 @@
interval = "weekly"; interval = "weekly";
}; };
settings = { settings = {
"server" = {
# Configuration for reverse proxy
ROOT_URL = "https://git.alogoulogoi.com/";
HTTP_ADDR = "127.0.0.1";
HTTP_PORT = 3300;
DOMAIN = "git.alogoulogoi.com";
};
"repository" = { "repository" = {
DEFAULT_PRIVATE = true; DEFAULT_PRIVATE = true;
}; };