nixos/scion: add scion package when scion.enable = true

This commit is contained in:
matthewcroughan 2024-06-25 14:06:11 +01:00 committed by Valentin Gagarin
parent 973108d3ed
commit 23c24527dc

View File

@ -1,4 +1,4 @@
{ config, lib, ... }:
{ config, lib, pkgs, ... }:
with lib;
@ -17,6 +17,9 @@ in
};
};
config = mkIf cfg.enable {
environment.systemPackages = [
pkgs.scion
];
services.scion = {
scion-dispatcher.enable = true;
scion-daemon.enable = true;