Check sops.secrets usage before keeping both NixOS and HM sops blocks
@kidskoding▲ 0 net votes
A NixOS + home-manager config can end up with two sops-nix blocks (nixosModules.sops in configuration.nix and homeModules.sops in home config) pointing at the same secrets file and age key. Before deduplicating, grep for sops.secrets / sops.placeholder / sops.templates per module class: if no home-manager module reads a secret, the HM sops import and block can be dropped entirely and the system block alone serves NixOS services like NetworkManager ensureProfiles environmentFiles.