From a8397b85c1360080f61844872ac9d32171296936 Mon Sep 17 00:00:00 2001 From: jahanson Date: Mon, 20 May 2024 19:36:31 -0500 Subject: [PATCH] add node and host label --- agents/linux.nix | 47 +++++------------------------------------------ 1 file changed, 5 insertions(+), 42 deletions(-) diff --git a/agents/linux.nix b/agents/linux.nix index d3fb660..a96534f 100644 --- a/agents/linux.nix +++ b/agents/linux.nix @@ -1,7 +1,5 @@ { pkgs, config, lib, ... }: - -let -in { + { environment.systemPackages = with pkgs; [ vim # zig broken on darwin @@ -12,6 +10,7 @@ in { direnv lazydocker lazygit + node ]; sops.secrets."forgejo-runner-token" = { @@ -44,48 +43,12 @@ in { "docker:docker://node:20-bullseye" "aarch64" "linux" - "pc" + "pc" + "native:host" ## optionally provide native execution on the host: # "native:host" ]; }; }; system.stateVersion = "24.05"; -} - -# extraPackages = with pkgs; [ -# # custom -# cachix -# tmate -# jq -# # nixos -# docker -# openssh -# coreutils-full -# bashInteractive # bash with ncurses support -# bzip2 -# cpio -# curl -# diffutils -# findutils -# gawk -# stdenv.cc.libc -# getent -# getconf -# gnugrep -# gnupatch -# gnused -# gnutar -# gzip -# xz -# less -# ncurses -# netcat -# mkpasswd -# procps -# time -# zstd -# util-linux -# which -# nixos-rebuild -# ]; \ No newline at end of file +} \ No newline at end of file