Closed musjj closed 1 year ago
If I had to guess, its persisted in their home directory (probably in .config/nixos
) and then they use main/deploy.sh to deploy the changes. The script specifies the --flake
arg so it is assumed to be in the current directory.
Ah right, that makes sense. I guess he is putting his config in one of his persisted directories.
In ephemeral setups, you're supposed to persist
/etc/nixos
(or wherever your config is located) somewhere right? I looked through your config:https://github.com/Misterio77/nix-config/blob/68939a161c97bb875fb1ead17c172c36de24bd01/hosts/common/global/optin-persistence.nix#L11-L20
But I can't find where are you persisting your config directory. Do you even persist it at all?