Format repo
This commit is contained in:
parent
3169149045
commit
8160b9da0b
37 changed files with 643 additions and 392 deletions
|
@ -1,4 +1,11 @@
|
|||
{ self, utils, lib, config, globals, ... }: {
|
||||
{
|
||||
self,
|
||||
utils,
|
||||
lib,
|
||||
config,
|
||||
globals,
|
||||
...
|
||||
}: {
|
||||
options.attic.enable = lib.mkEnableOption "attic";
|
||||
|
||||
config = lib.mkIf config.attic.enable {
|
||||
|
@ -50,10 +57,12 @@
|
|||
};
|
||||
};
|
||||
|
||||
volumeMounts = [{
|
||||
name = "data";
|
||||
mountPath = "/var/lib/atticd/storage";
|
||||
}];
|
||||
volumeMounts = [
|
||||
{
|
||||
name = "data";
|
||||
mountPath = "/var/lib/atticd/storage";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
volumes = {
|
||||
|
@ -98,10 +107,12 @@
|
|||
};
|
||||
};
|
||||
|
||||
volumeMounts = [{
|
||||
name = "data";
|
||||
mountPath = "/pgdata";
|
||||
}];
|
||||
volumeMounts = [
|
||||
{
|
||||
name = "data";
|
||||
mountPath = "/pgdata";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
volumes.data.persistentVolumeClaim.claimName = "database";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue