mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 21:01:34 +01:00
Move nspawn containers into nspawn directory
This commit is contained in:
parent
be488a91a7
commit
5b1fc56176
14 changed files with 2 additions and 1 deletions
|
|
@ -1,20 +0,0 @@
|
|||
{
|
||||
containers.onlyoffice.config =
|
||||
{ config, lib, ... }:
|
||||
{
|
||||
sops.secrets."onlyoffice-secret-key" = {
|
||||
owner = config.users.users.onlyoffice.name;
|
||||
inherit (config.users.users.onlyoffice) group;
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "corefonts" ];
|
||||
|
||||
services.onlyoffice = {
|
||||
enable = true;
|
||||
hostname = "onlyoffice.stork-atlas.ts.net";
|
||||
jwtSecretFile = config.sops.secrets."onlyoffice-secret-key".path;
|
||||
};
|
||||
|
||||
myConfig.tailscale.serve = "8000";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue