mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-10 04:49:19 -08:00
fix: flake sanity, remove relative paths
This commit is contained in:
parent
8f6859fa8d
commit
d10b95e21a
5 changed files with 8 additions and 250 deletions
14
inputs.nix
14
inputs.nix
|
|
@ -5,14 +5,12 @@ let
|
|||
url = "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz";
|
||||
sha256 = lock.nodes.flake-compat.locked.narHash;
|
||||
};
|
||||
trusted = import flakeCompat {
|
||||
src = ./flake/trusted;
|
||||
};
|
||||
nixfiles = import flakeCompat {
|
||||
src = ./.;
|
||||
};
|
||||
in nixfiles.defaultNix.inputs // {
|
||||
trusted = if builtins.getEnv "TRUSTED" != ""
|
||||
then trusted.defaultNix.inputs.trusted
|
||||
else ./flake/empty;
|
||||
}
|
||||
trusted = import flakeCompat {
|
||||
src = ./trusted;
|
||||
};
|
||||
in nixfiles.defaultNix.inputs // (if builtins.getEnv "TRUSTED" != "" then {
|
||||
inherit (trusted.defaultNix.inputs) trusted;
|
||||
} else {})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue