nix cleanups

This commit is contained in:
Robin Appelman 2026-05-01 15:23:51 +02:00
commit 19e26b476b
2 changed files with 2 additions and 2 deletions

View file

@ -87,7 +87,7 @@ in {
# symlink instead of passing `configFile` directly to netnsd to allow changing the config without changing the path # 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.etc."netnsd/netnsd.toml".source = configFile;
environment.systemPackages = with pkgs; [cfg.package]; environment.systemPackages = [cfg.package];
systemd.services.netnsd = { systemd.services.netnsd = {
reloadTriggers = [configFile]; reloadTriggers = [configFile];

View file

@ -12,7 +12,7 @@
rustc = rust-bin.stable.latest.minimal; rustc = rust-bin.stable.latest.minimal;
}; };
in in
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage {
pname = cargoPackage.name; pname = cargoPackage.name;
inherit (cargoPackage) version; inherit (cargoPackage) version;