Migrated from multi repos to monorepo architecture.

This commit is contained in:
Raphaël Numbus
2026-05-02 12:52:08 +02:00
parent 72668492f5
commit 73adb395c0
218 changed files with 9639 additions and 57 deletions
+9
View File
@@ -0,0 +1,9 @@
# .sops.yaml
keys:
- &primary $SOPS_PUBLIC_KEY
creation_rules:
- path_regex: secrets/(disks|podman|system)/.*\.yaml$
key_groups:
- age:
- *primary
@@ -0,0 +1,8 @@
# This file is reserved for ADVANCED USERS ONLY.
# Editing could compromise system stability and is not supported by numbus.
# Do NOT set options already managed by numbus. i.e. config.numbus.* and other options (networking, storage, etc.)
# Please use the dedicated script for those options : https://gittea.dev/numbus/numbus.
{ config }:
{}
+53
View File
@@ -0,0 +1,53 @@
# Do NOT edit this file manually.
# Please use the dedicated script : https://gittea.dev/numbus/numbus.
# This could compromise system stability and is not supported by numbus.
{
inputs = {
# Core Nixpkgs
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
# Numbus server configuration
numbus-server.url = "git+https://git.numbus.eu/numbus/numbus-server";
numbus-server.inputs.nixpkgs.follows = "nixpkgs";
# Disk-partitioning helper
disko.url = "github:nix-community/disko";
disko.inputs.nixpkgs.follows = "nixpkgs";
# Secrets handling
sops-nix.url = "github:Mic92/sops-nix";
sops-nix.inputs.nixpkgs.follows = "nixpkgs";
# Power savings
autoaspm.url = "git+https://git.notthebe.ee/notthebee/AutoASPM";
autoaspm.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { self, nixpkgs, numbus-server, disko, sops-nix, autoaspm, ... }@inputs: let
# System definition
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
};
in
{
nixosConfigurations = {
numbus-server = nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = { inherit inputs; };
modules = [
# Numbus server configuration
numbus-server.nixosModules.numbus-server
# Disk-partitioning helper
disko.nixosModules.disko
# Secrets handling
sops-nix.nixosModules.sops
# Power savings
autoaspm.nixosModules.autoaspm
# Core host configuration
./hardware-configuration.nix
./numbus-generated.nix
./custom-configuration.nix
];
};
};
};
}
+7
View File
@@ -0,0 +1,7 @@
# Do NOT edit this file manually.
# Please use the dedicated script : https://gittea.dev/numbus/numbus.
# This could compromise system stability and is not supported by numbus.
{ config, pkgs, ... }:
{
+2
View File
@@ -0,0 +1,2 @@
disks:
boot: "whoever blabber senior liqueur riverboat filing wronged seventeen grandma moonshine"
@@ -0,0 +1,3 @@
disks:
content-1: "nemeses starship tackle anime cardinal scarcity marmalade divorcee gondola kindle"
content-2: "chihuahua smolder cardiac mooned ovary suing bless nuptials driver slighting"
@@ -0,0 +1,2 @@
disks:
parity-1: "armed despise atrophy province strategy lustrous provoking jurist ramble phoenix"
@@ -0,0 +1,3 @@
# CLOUDFLARE
traefik:
cloudflareDnsApiToken: ""
@@ -0,0 +1,3 @@
# SMTP
mail:
smtpPassword: "$SMTP_SERVER_PASSWORD"
+3
View File
@@ -0,0 +1,3 @@
# SSH
ssh:
authorizedPublicKeys: |