Site hosting

This commit is contained in:
Lucas Thelen 2025-10-02 03:32:00 +00:00
parent 08e278f818
commit b8455c491b
5 changed files with 123 additions and 3 deletions

View file

@ -3,13 +3,20 @@
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
inputs.thelenlucas = {
url = "github:thelenlucas/thelenlucas.github.io/main";
inputs.nixpkgs.follows = "nixpkgs";
};
inputs.agenix = {
url = "github:ryantm/agenix";
inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { self, nixpkgs, agenix }: {
outputs = { self, nixpkgs, thelenlucas, agenix }@inputs: {
nixosConfigurations.homelab = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; };
modules = [
agenix.nixosModules.default
./system.nix
@ -22,9 +29,11 @@
./networking/adblock.nix
./networking/vpn-host.nix
./services/jellyfin.nix
./services/site.nix
{
environment.systemPackages = [ agenix.packages.x86_64-linux.default ];
age.secrets.tailscale.file = ./tailscale.age;
age.secrets.aws.file = ./secrets/aws.age;
}
];
};