1
1
Fork 0

Compare commits

..

2 Commits

Author SHA1 Message Date
Jaculabilis f252a38b1b Update empyrean configs to 23.05 2023-06-09 21:27:52 +00:00
Jaculabilis e8a7aae12e Add nixpkgs-next url 2023-06-09 20:42:52 +00:00
4 changed files with 36 additions and 12 deletions

View File

@ -69,10 +69,27 @@
"type": "github"
}
},
"nixpkgs-next": {
"locked": {
"lastModified": 1685566663,
"narHash": "sha256-btHN1czJ6rzteeCuE/PNrdssqYD2nIA4w48miQAFloM=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "4ecab3273592f27479a583fb6d975d4aba3486fe",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "23.05",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"nixos-wsl": "nixos-wsl",
"nixpkgs": "nixpkgs"
"nixpkgs": "nixpkgs",
"nixpkgs-next": "nixpkgs-next"
}
}
},

View File

@ -1,17 +1,23 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/22.11";
nixpkgs-next.url = "github:NixOS/nixpkgs/23.05";
nixos-wsl.url = "github:nix-community/NixOS-WSL";
nixos-wsl.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { self, nixpkgs, nixos-wsl }: {
outputs = {
self,
nixpkgs,
nixpkgs-next,
nixos-wsl
}: {
nixosConfigurations = {
catacomb = nixpkgs.lib.nixosSystem {
system = "aarch64-linux";
modules = [ ./machine/catacomb ];
};
empyrean = nixpkgs.lib.nixosSystem {
empyrean = nixpkgs-next.lib.nixosSystem {
system = "x86_64-linux";
modules = [ ./machine/empyrean ];
};

View File

@ -18,7 +18,6 @@
# Use the GRUB 2 boot loader.
boot.loader.grub = {
enable = true;
version = 2;
device = "/dev/xvda";
extraConfig = "serial --unit=0 --speed=115200 ; terminal_input serial console ; terminal_output serial console";
};
@ -115,8 +114,8 @@
services.openssh = {
enable = true;
passwordAuthentication = false;
permitRootLogin = "prohibit-password";
settings.PasswordAuthentication = false;
settings.PermitRootLogin = "prohibit-password";
};
services.tinc.networks.beatific = {
@ -180,7 +179,7 @@
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (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
services.gitea = {
# Enable Gitea and configure for reverse proxy
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
@ -22,6 +17,13 @@
interval = "weekly";
};
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" = {
DEFAULT_PRIVATE = true;
};