nixos-config/default.nix
Gabriel Arazas 4333feb2c0
default.nix: convert to flake-compat config
Welp, it is easier to use it so here we are.
2024-01-12 19:24:59 +08:00

11 lines
343 B
Nix

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