feat: add noisepics to server
This commit is contained in:
parent
e91c4949d0
commit
bb1b8ca33f
4 changed files with 44 additions and 0 deletions
18
modules/noisepics.nix
Normal file
18
modules/noisepics.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{ config, inputs, ... }:
|
||||
|
||||
{
|
||||
age.secrets.noisepics-storagebox = {
|
||||
file = "${inputs.noisepics}/secrets/noisepics-storagebox.age";
|
||||
mode = "0400";
|
||||
};
|
||||
|
||||
services.noisepics = {
|
||||
enable = true;
|
||||
domain = "noisepics.extremist.software";
|
||||
storagebox = {
|
||||
enable = true;
|
||||
address = "u563838.your-storagebox.de";
|
||||
credentialsFile = config.age.secrets.noisepics-storagebox.path;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue