Remove unused code
This commit is contained in:
parent
af5a07ca19
commit
48e71f75f8
104 changed files with 151 additions and 229 deletions
|
|
@ -1,7 +1,5 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
cfg = config.jalr.matrix;
|
||||
in
|
||||
|
||||
{
|
||||
options.jalr.matrix = with lib; with lib.types; {
|
||||
enable = mkEnableOption "simple matrix server";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{ config, lib, ... }:
|
||||
|
||||
let
|
||||
cfg = config.jalr.matrix;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{ config, lib, ... }:
|
||||
|
||||
let
|
||||
cfg = config.jalr.matrix;
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ lib.mkIf cfg.enable {
|
|||
|
||||
matrix-synapse.settings.app_service_config_files = lib.attrsets.mapAttrsToList
|
||||
(
|
||||
name: value:
|
||||
name: _:
|
||||
"/run/matrix-synapse/app_service_config/${name}.yaml"
|
||||
)
|
||||
cfg.synapse.app_service_config;
|
||||
|
|
@ -108,8 +108,7 @@ lib.mkIf cfg.enable {
|
|||
systemd.services.matrix-synapse = {
|
||||
restartTriggers = lib.attrsets.mapAttrsToList
|
||||
(
|
||||
name: value:
|
||||
"${value}"
|
||||
_: value: "${value}"
|
||||
)
|
||||
cfg.synapse.app_service_config;
|
||||
serviceConfig = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue