Persist the gcloud config directory.
This commit is contained in:
parent
6ac33d2538
commit
fd0c92f3eb
@ -23,6 +23,20 @@
|
||||
environment.systemPackages = with pkgs; [
|
||||
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";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
]
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user