mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 14:01:34 +01:00
Only allow selective unfree packages in onlyoffice container
This commit is contained in:
parent
cf7ca085b6
commit
6fe9cf2adc
1 changed files with 2 additions and 2 deletions
|
|
@ -1,13 +1,13 @@
|
||||||
{
|
{
|
||||||
containers.onlyoffice.config =
|
containers.onlyoffice.config =
|
||||||
{ config, ... }:
|
{ config, lib, ... }:
|
||||||
{
|
{
|
||||||
sops.secrets."onlyoffice-secret-key" = {
|
sops.secrets."onlyoffice-secret-key" = {
|
||||||
owner = config.users.users.onlyoffice.name;
|
owner = config.users.users.onlyoffice.name;
|
||||||
inherit (config.users.users.onlyoffice) group;
|
inherit (config.users.users.onlyoffice) group;
|
||||||
};
|
};
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "corefonts" ];
|
||||||
|
|
||||||
services.onlyoffice = {
|
services.onlyoffice = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue