Site hosting
This commit is contained in:
parent
08e278f818
commit
b8455c491b
5 changed files with 123 additions and 3 deletions
11
flake.nix
11
flake.nix
|
|
@ -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;
|
||||
}
|
||||
];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue