nix module: add package to environment

This commit is contained in:
Robin Appelman 2025-11-14 19:31:19 +01:00
commit 00dd32d3aa

View file

@ -61,6 +61,8 @@ in {
# symlink instead of passing `configFile` directly to netnsd to allow changing the config without changing the path
environment.etc."netnsd/netnsd.toml".source = configFile;
environment.systemPackages = with pkgs; [cfg.package];
systemd.services.netnsd = {
reloadTriggers = [configFile];