nix-community / impermanence

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

nixos: Minimize activation script debug, add debugging, and more #85

Closed talyz closed 2 years ago

talyz commented 2 years ago

nixos: Minimize the amount of text added to the activation script

This is done to reduce the risk of build errors, isolate each run of the script and reduce the amount of replicated code.

Fixes #77, #78

nixos: Add an internal debugging option to aid script debugging

This should let users provide detailed traces of script errors.

create-directories: Set noglob and inherit_errexit, document options

In addition to the currently set bash options, set noglob and inherit_errexit.