[henry@nixos:~/git/mynixos]$ sudo nixos-rebuild switch
error: syntax error, unexpected '=', expecting end of file
at /etc/nixos/configuration.nix:352:5:
351| ### clean system
352| nix = {
| ^
353| settings.auto-optimise-store = true;
(use '--show-trace' to show detailed location information)
building Nix...
error: syntax error, unexpected '=', expecting end of file
at /etc/nixos/configuration.nix:352:5:
351| ### clean system
352| nix = {
| ^
353| settings.auto-optimise-store = true;
(use '--show-trace' to show detailed location information)
building the system configuration...
error: syntax error, unexpected '=', expecting end of file
at /etc/nixos/configuration.nix:352:5:
351| ### clean system
352| nix = {
| ^
353| settings.auto-optimise-store = true;
(use '--show-trace' to show detailed location information)
I would have persistent on pretty much all the time. It just makes sure that if your computer isn’t on when the timer triggers, it will do the garbage collection when you next turn it on.
I think that’s the least surprising behavior, frankly.