Persist the gcloud config directory.

This commit is contained in:
Tom Alexander 2025-02-23 18:44:59 -05:00
parent 6ac33d2538
commit fd0c92f3eb
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -23,6 +23,20 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
google-cloud-sdk google-cloud-sdk
]; ];
environment.persistence."/state" = lib.mkIf (!config.me.buildingIso) {
hideMounts = true;
users.talexander = {
directories = [
{
directory = ".config/gcloud";
user = "talexander";
group = "talexander";
mode = "0700";
}
];
};
};
} }
] ]
); );