nixos/flake.nix
lew f29e88ad1e website as flake input, declarative build via wynne-deploy
Source fetched by Nix from Forgejo, build runs on server with
DB access for prerendering. No manual git clone/pull needed.
2026-04-05 02:07:03 +01:00

26 lines
610 B
Nix

{
description = "NixOS configuration";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
sops-nix = {
url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
website = {
url = "git+ssh://forgejo@git.ily.rs:4201/lew/website.git";
flake = false;
};
};
outputs = { self, nixpkgs, sops-nix, website, ... }: {
nixosConfigurations.lab = nixpkgs.lib.nixosSystem {
system = "aarch64-linux";
specialArgs = { inherit website; };
modules = [
sops-nix.nixosModules.sops
./hosts/lab
];
};
};
}