configs/smug: start ssh-add befor main runs

This commit is contained in:
Aaron Bieber 2024-02-11 18:23:11 -07:00
parent 29962e5e74
commit e182de0665
No known key found for this signature in database

View File

@ -1,7 +1,4 @@
{ config
, pkgs
, ...
}:
{ pkgs, ... }:
let
tmuxFormat = pkgs.formats.yaml { };
in
@ -18,6 +15,9 @@ in
etc."smug/ci.yml".text = builtins.readFile (tmuxFormat.generate "ci.yml" {
session = "CI";
root = "~/";
before_start = [
"ssh-add"
];
windows = [
{
name = "CI Status";