nixos-module/default.nix
raito 3ddd6e5e79 feat: introduce our own flake-compat
Signed-off-by: Raito Bezarius <raito@lix.systems>
2024-03-09 01:48:11 +01:00

11 lines
351 B
Nix

(import
(
let lock = builtins.fromJSON (builtins.readFile ./flake.lock); in
fetchTarball {
url = lock.nodes.flake-compat.locked.url or "https://git.lix.systems/lix-project/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz";
sha256 = lock.nodes.flake-compat.locked.narHash;
}
)
{ src = ./.; }
).defaultNix