radiobert: update and adopt heliwatch
This commit is contained in:
parent
ed0e9c4ab7
commit
4744eb9235
|
@ -8,11 +8,11 @@
|
||||||
"utils": "utils"
|
"utils": "utils"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1636416807,
|
"lastModified": 1636472542,
|
||||||
"narHash": "sha256-cKVugZtEszVAz6+emfCgl4CdIzVcqP1CcfVCvpMdS5g=",
|
"narHash": "sha256-HlzWJXlcgzGQRFkv1q/Bi2aWlHlpmEYiOjaz5LKJAgo=",
|
||||||
"ref": "master",
|
"ref": "master",
|
||||||
"rev": "3455a8d579aa67423adbc85abddab7c4d95e4eb8",
|
"rev": "4e3504259a46bc586296bf15ffb9c72ffedf9b28",
|
||||||
"revCount": 27,
|
"revCount": 34,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://gitea.c3d2.de/astro/heliwatch.git"
|
"url": "https://gitea.c3d2.de/astro/heliwatch.git"
|
||||||
},
|
},
|
||||||
|
|
|
@ -222,6 +222,7 @@
|
||||||
radiobert = nixosSystem' {
|
radiobert = nixosSystem' {
|
||||||
modules = [
|
modules = [
|
||||||
"${inputs.nixpkgs}/nixos/modules/installer/sd-card/sd-image-aarch64.nix"
|
"${inputs.nixpkgs}/nixos/modules/installer/sd-card/sd-image-aarch64.nix"
|
||||||
|
{ nixpkgs.overlays = [ heliwatch.overlay ]; }
|
||||||
./hosts/radiobert
|
./hosts/radiobert
|
||||||
];
|
];
|
||||||
system = "aarch64-linux";
|
system = "aarch64-linux";
|
||||||
|
|
|
@ -38,7 +38,7 @@ in {
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
requires = [ "readsb.service" ];
|
requires = [ "readsb.service" ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = "${pkgs.ruby}/bin/ruby ${./sbs2json.rb}";
|
ExecStart = "${pkgs.heliwatch.http-json}/bin/http-json";
|
||||||
User = "sbs2json";
|
User = "sbs2json";
|
||||||
Group = "adsb";
|
Group = "adsb";
|
||||||
ProtectSystem = "full";
|
ProtectSystem = "full";
|
||||||
|
@ -66,6 +66,10 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.collectd.plugins.exec = ''
|
||||||
|
Exec "${config.services.collectd.user}" "${pkgs.heliwatch.collectd-stats}/bin/collectd-stats"
|
||||||
|
'';
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
dump1090_sdrplus
|
dump1090_sdrplus
|
||||||
readsb
|
readsb
|
||||||
|
|
Loading…
Reference in New Issue
Block a user