{ flake, inputs, ... }: { imports = [ inputs.impurity.nixosModules.impurity ]; impurity.configRoot = flake; # preserve the flake that build the current generation environment.etc.current-flake.source = flake; }