summaryrefslogtreecommitdiffstats
path: root/nixos/modules/services
diff options
context:
space:
mode:
authormatthewcroughan <matt@croughan.sh>2024-06-25 14:06:11 +0100
committerValentin Gagarin <valentin.gagarin@tweag.io>2024-06-27 11:52:04 +0200
commit23c24527dc69f286a2588de99d04edfe2f354bfe (patch)
tree3bff132509d7b24993310b9b1da2bff4cf61732a /nixos/modules/services
parent973108d3ed65520c19c7b4d96897d61af2c658e1 (diff)
nixos/scion: add scion package when scion.enable = true
Diffstat (limited to 'nixos/modules/services')
-rw-r--r--nixos/modules/services/networking/scion/scion.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/scion/scion.nix b/nixos/modules/services/networking/scion/scion.nix
index 5e3445edbb89..b8bfef8b93b5 100644
--- a/nixos/modules/services/networking/scion/scion.nix
+++ b/nixos/modules/services/networking/scion/scion.nix
@@ -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;