nix-community / impermanence

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

hm: remove occurences of 'with' #183

Open Misterio77 opened 2 months ago

Misterio77 commented 2 months ago

Just a personal annoyance I had while working on these again haha. Context: https://nix.dev/guides/best-practices#with-scopes

talyz commented 2 weeks ago

I agree, it would be nice to get rid of these withs and I think most of this looks good, but rather than prefixing with lib. for the types, I prefer the solution employed in nixos.nix: https://github.com/nix-community/impermanence/blob/master/nixos.nix#L73-L84