mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
tewi deployment
This commit is contained in:
parent
827d638f3a
commit
5d6c301a39
15 changed files with 84 additions and 1084 deletions
|
|
@ -1,6 +1,5 @@
|
|||
let
|
||||
lock = builtins.fromJSON (builtins.readFile ./flake.lock);
|
||||
lockTrusted = builtins.fromJSON (builtins.readFile ./trusted/flake.lock);
|
||||
flakeCompat = fetchTarball {
|
||||
url = "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz";
|
||||
sha256 = lock.nodes.flake-compat.locked.narHash;
|
||||
|
|
@ -9,8 +8,10 @@ let
|
|||
src = ./.;
|
||||
};
|
||||
trusted = import flakeCompat {
|
||||
src = ./trusted;
|
||||
src = if builtins.pathExists ./trusted/trusted/flake.nix
|
||||
then ./trusted/trusted
|
||||
else ./trusted;
|
||||
};
|
||||
in nixfiles.defaultNix.inputs // (if builtins.getEnv "TRUSTED" != "" then {
|
||||
inherit (trusted.defaultNix.inputs) trusted;
|
||||
trusted = trusted.defaultNix;
|
||||
} else {})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue