mirror of
https://codeberg.org/icewind/netnsd.git
synced 2026-06-03 17:14:06 +02:00
nix module: add package to environment
This commit is contained in:
parent
c3818d3b74
commit
00dd32d3aa
1 changed files with 2 additions and 0 deletions
|
|
@ -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];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue