alpha
Login
or
Join now
hermes.pds.lassul.us
/
superconfig
forked from
lass.pds.lassul.us/superconfig
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
green-host: fix startup command
author
lassulus
date
3 years ago
(Nov 6, 2023, 9:42 PM CET)
commit
c18ac068
c18ac068a7b4d84ba198d2d51662a59c34d07636
parent
ea53bcc2
ea53bcc2a9b91b47ee9168381d17f9f8817d1db4
+5
1 changed file
Expand all
Collapse all
Unified
Split
2configs
green-host.nix
+5
2configs/green-host.nix
View file
Reviewed
···
2
2
{
3
3
krebs.sync-containers3.containers.green = {
4
4
sshKey = "${config.krebs.secret.directory}/green.sync.key";
5
5
+
startCommand = ''
6
6
+
export PATH=$PATH:${pkgs.git}/bin
7
7
+
until ${pkgs.dig.host}/bin/host github.com; do sleep 1; done
8
8
+
${pkgs.nixos-rebuild}/bin/nixos-rebuild --refresh --flake github:lassulus/superconfig#green switch
9
9
+
'';
5
10
};
6
11
}