diff options
author | matthewcroughan <matt@croughan.sh> | 2024-06-25 14:06:11 +0100 |
---|---|---|
committer | Valentin Gagarin <valentin.gagarin@tweag.io> | 2024-06-27 11:52:04 +0200 |
commit | 23c24527dc69f286a2588de99d04edfe2f354bfe (patch) | |
tree | 3bff132509d7b24993310b9b1da2bff4cf61732a /nixos/modules/services | |
parent | 973108d3ed65520c19c7b4d96897d61af2c658e1 (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.nix | 5 |
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; |