Compare commits
No commits in common. "f252a38b1b99881fc0500cb2fc6f5310b79bfef1" and "bbe12a24d3d513e0b66357d53c613bbae8f1dfea" have entirely different histories.
f252a38b1b
...
bbe12a24d3
19
flake.lock
19
flake.lock
|
@ -69,27 +69,10 @@
|
||||||
"type": "github"
|
"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": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixos-wsl": "nixos-wsl",
|
"nixos-wsl": "nixos-wsl",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs"
|
||||||
"nixpkgs-next": "nixpkgs-next"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
10
flake.nix
10
flake.nix
|
@ -1,23 +1,17 @@
|
||||||
{
|
{
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/22.11";
|
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.url = "github:nix-community/NixOS-WSL";
|
||||||
nixos-wsl.inputs.nixpkgs.follows = "nixpkgs";
|
nixos-wsl.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = {
|
outputs = { self, nixpkgs, nixos-wsl }: {
|
||||||
self,
|
|
||||||
nixpkgs,
|
|
||||||
nixpkgs-next,
|
|
||||||
nixos-wsl
|
|
||||||
}: {
|
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
catacomb = nixpkgs.lib.nixosSystem {
|
catacomb = nixpkgs.lib.nixosSystem {
|
||||||
system = "aarch64-linux";
|
system = "aarch64-linux";
|
||||||
modules = [ ./machine/catacomb ];
|
modules = [ ./machine/catacomb ];
|
||||||
};
|
};
|
||||||
empyrean = nixpkgs-next.lib.nixosSystem {
|
empyrean = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules = [ ./machine/empyrean ];
|
modules = [ ./machine/empyrean ];
|
||||||
};
|
};
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
# 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";
|
||||||
};
|
};
|
||||||
|
@ -114,8 +115,8 @@
|
||||||
|
|
||||||
services.openssh = {
|
services.openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.PasswordAuthentication = false;
|
passwordAuthentication = false;
|
||||||
settings.PermitRootLogin = "prohibit-password";
|
permitRootLogin = "prohibit-password";
|
||||||
};
|
};
|
||||||
|
|
||||||
services.tinc.networks.beatific = {
|
services.tinc.networks.beatific = {
|
||||||
|
@ -179,7 +180,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 = "23.05"; # Did you read the comment?
|
system.stateVersion = "20.03"; # Did you read the comment?
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,12 @@
|
||||||
{
|
{
|
||||||
# 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
|
||||||
|
|
||||||
|
@ -17,13 +22,6 @@
|
||||||
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;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue