Provide flake-compat default.nix for non-flake users
elpdt852 opened this issue · comments
Not everyone uses flakes, so it'll be nice for non-flake users to utilize nix-snapshotter. Normally this is done via using flake-compat in the default.nix
, so we'll need to move the existing default.nix
somewhere else.
Originally the derivation was kept in default.nix
to at least people use the package, but non-flake use cases also cover nixos modules and home-manager too, so we should just move the nix-snapshotter derivation into flake-parts and just let flake-compat
provide the outputs.