hosts: add phantom
This commit is contained in:
parent
c60e22b26a
commit
7ab7a3459a
12 changed files with 311 additions and 0 deletions
22
hosts/phantom/nextcloud.nix
Normal file
22
hosts/phantom/nextcloud.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ config, pkgs, inputs, ... }: {
|
||||
services.nextcloud = {
|
||||
enable = true;
|
||||
package = pkgs.nextcloud27;
|
||||
hostName = "cloud.lelgenio.xyz";
|
||||
https = true;
|
||||
config = {
|
||||
adminpassFile = config.age.secrets.ghost-nextcloud.path;
|
||||
};
|
||||
};
|
||||
|
||||
age = {
|
||||
secrets.ghost-nextcloud = {
|
||||
file = ../../secrets/ghost-nextcloud.age;
|
||||
mode = "400";
|
||||
owner = "nextcloud";
|
||||
group = "nextcloud";
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue