at 23.11-beta 520 B view raw
1import ./make-test-python.nix ({ lib, pkgs, ... }: { 2 name = "syncthing"; 3 meta.maintainers = with pkgs.lib.maintainers; [ chkno ]; 4 5 nodes = { 6 a = { 7 environment.systemPackages = with pkgs; [ curl libxml2 syncthing ]; 8 services.syncthing = { 9 enable = true; 10 }; 11 }; 12 }; 13 # Test that indeed a syncthing-init.service systemd service is not created. 14 # 15 testScript = /* python */ '' 16 a.succeed("systemctl list-unit-files | awk '$1 == \"syncthing-init.service\" {exit 1;}'") 17 ''; 18})