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

This commit is contained in:
matthewcroughan
2024-06-27 11:52:04 +02:00
committed by Valentin Gagarin
parent 973108d3ed
commit 23c24527dc
@@ -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;