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.
This commit is contained in:
parent
0c36b497c8
commit
f29e88ad1e
3 changed files with 20 additions and 7 deletions
|
|
@ -7,11 +7,16 @@
|
|||
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, ... }: {
|
||||
outputs = { self, nixpkgs, sops-nix, website, ... }: {
|
||||
nixosConfigurations.lab = nixpkgs.lib.nixosSystem {
|
||||
system = "aarch64-linux";
|
||||
specialArgs = { inherit website; };
|
||||
modules = [
|
||||
sops-nix.nixosModules.sops
|
||||
./hosts/lab
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue