nix-community / impermanence

Modules to help you handle persistent state on systems with ephemeral root storage [maintainer=@talyz]
MIT License
1.18k stars 85 forks source link

flake: remove unused nixpkgs input #27

Closed cole-h closed 3 years ago

cole-h commented 3 years ago

Packages are retrieved from the pkgs module argument, rather than Nixpkgs itself.


Fixes https://github.com/nix-community/impermanence/issues/26.

nix flake check passes, but I'd appreciate testing to verify things still work properly.

cc @linyinfeng

linyinfeng commented 3 years ago

@cole-h I have tested it on my laptop with nix flake update --override-input impermanence github:cole-h/impermanence/remove-unused-input and nixos-rebuild, and it works well.

nix does not generate flake.lock if there are no inputs. Maybe there is no need to add flake.lock to .gitignore?

cole-h commented 3 years ago

Indeed, I didn't notice. Fixed, thanks.