diff options
author | Aspen Smith <grfn@gws.fyi> | 2023-11-27T15·09-0500 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2023-11-30T13·33+0000 |
commit | f9727b6e93604e2380aa6462c9d695ce32cfaf21 (patch) | |
tree | aeb2c744ea1df4c25a4bb56b55e1313f44944bc7 /users/grfn/system | |
parent | f9eddf6f295612cda6a3002f43930862a829612f (diff) |
chore(grfn/system): Death to kolide r/7089
Change-Id: Ie0433ad182ff2292968572d45822a4137c3066eb Reviewed-on: https://cl.tvl.fyi/c/depot/+/10168 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: grfn <grfn@gws.fyi>
Diffstat (limited to 'users/grfn/system')
-rw-r--r-- | users/grfn/system/system/machines/ogopogo.nix | 1 | ||||
-rw-r--r-- | users/grfn/system/system/machines/yeren.nix | 1 | ||||
-rw-r--r-- | users/grfn/system/system/modules/work/kolide.deb | bin | 25094998 -> 0 bytes | |||
-rw-r--r-- | users/grfn/system/system/modules/work/kolide.nix | 51 |
4 files changed, 0 insertions, 53 deletions
diff --git a/users/grfn/system/system/machines/ogopogo.nix b/users/grfn/system/system/machines/ogopogo.nix index 14514465f9ba..eeb016921f84 100644 --- a/users/grfn/system/system/machines/ogopogo.nix +++ b/users/grfn/system/system/machines/ogopogo.nix @@ -10,7 +10,6 @@ ../modules/tvl.nix ../modules/development.nix ../modules/wireshark.nix - ../modules/work/kolide.nix ]; networking.hostName = "ogopogo"; diff --git a/users/grfn/system/system/machines/yeren.nix b/users/grfn/system/system/machines/yeren.nix index de1734e039b6..9208d76d58d1 100644 --- a/users/grfn/system/system/machines/yeren.nix +++ b/users/grfn/system/system/machines/yeren.nix @@ -10,7 +10,6 @@ ../modules/sound.nix ../modules/tvl.nix ../modules/development.nix - ../modules/work/kolide.nix ]; networking.hostName = "yeren"; diff --git a/users/grfn/system/system/modules/work/kolide.deb b/users/grfn/system/system/modules/work/kolide.deb deleted file mode 100644 index a319a5806fca..000000000000 --- a/users/grfn/system/system/modules/work/kolide.deb +++ /dev/null Binary files differdiff --git a/users/grfn/system/system/modules/work/kolide.nix b/users/grfn/system/system/modules/work/kolide.nix deleted file mode 100644 index e4ee786f0cbe..000000000000 --- a/users/grfn/system/system/modules/work/kolide.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ config, lib, pkgs, ... }: - -let - deb = ./kolide.deb; - - kolide = pkgs.runCommand "kolide-data" - { - buildInputs = [ pkgs.binutils-unwrapped ]; - } '' - cp ${deb} ./kolide.deb - ar x kolide.deb - mkdir result - tar xzf data.tar.gz -C result - patchelf \ - --set-interpreter ${pkgs.glibc}/lib/ld-linux-x86-64.so.2 \ - --set-rpath "${lib.makeLibraryPath (with pkgs; [ - zlib - ])}" \ - result/usr/local/kolide-k2/bin/osqueryd - mv result $out - ''; - -in -{ - systemd.services."launcher.kolide-k2" = { - wantedBy = [ "multi-user.target" ]; - after = [ "network.target" "syslog.service" ]; - description = "The Kolide Launcher"; - serviceConfig = { - ExecStart = '' - ${kolide}/usr/local/kolide-k2/bin/launcher \ - -config \ - ${pkgs.writeText "launcher.flags" '' - with_initial_runner - control - autoupdate - root_directory /var/lib/kolide - osqueryd_path ${kolide}/usr/local/kolide-k2/bin/osqueryd - enroll_secret_path ${kolide}/etc/kolide-k2/secret - control_hostname k2control.kolide.com - update_channel stable - transport jsonrpc - hostname k2device.kolide.com - ''} - ''; - StateDirectory = "kolide"; - Restart = "on-failure"; - RestartSec = 3; - }; - }; -} |