fix
This commit is contained in:
parent
90c0fa11e7
commit
4c1f9705da
1 changed files with 11 additions and 11 deletions
|
|
@ -30,6 +30,17 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
pullomatic = "${pullomaticPkg}/bin/pullomatic";
|
pullomatic = "${pullomaticPkg}/bin/pullomatic";
|
||||||
|
|
||||||
|
writeShellScriptBinInRepoRoot = name: script: pkgs.writeShellScriptBin name ''
|
||||||
|
cd `${pkgs.git}/bin/git rev-parse --show-toplevel`
|
||||||
|
${script}
|
||||||
|
'';
|
||||||
|
|
||||||
|
start-arion-run = writeShellScriptBinInRepoRoot "start-arion-run" ''
|
||||||
|
cd arion/
|
||||||
|
${pkgs.arion}/bin/arion down
|
||||||
|
${pkgs.arion}/bin/arion up
|
||||||
|
'';
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
(import ./cloned_repos {inherit pkgs pullomatic lib;})
|
(import ./cloned_repos {inherit pkgs pullomatic lib;})
|
||||||
|
|
@ -43,17 +54,6 @@ in {
|
||||||
age.secrets.nearlyfreespeech.file = ./secrets/nearlyfreespeech.age;
|
age.secrets.nearlyfreespeech.file = ./secrets/nearlyfreespeech.age;
|
||||||
age.secrets.nearlyfreespeech.owner = "root";
|
age.secrets.nearlyfreespeech.owner = "root";
|
||||||
|
|
||||||
writeShellScriptBinInRepoRoot = name: script: pkgs.writeShellScriptBin name ''
|
|
||||||
cd `${pkgs.git}/bin/git rev-parse --show-toplevel`
|
|
||||||
${script}
|
|
||||||
'';
|
|
||||||
|
|
||||||
start-arion-run = writeShellScriptBinInRepoRoot "start-arion-run" ''
|
|
||||||
cd arion/
|
|
||||||
${pkgs.arion}/bin/arion down
|
|
||||||
${pkgs.arion}/bin/arion up
|
|
||||||
'';
|
|
||||||
|
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
ddnsPkg
|
ddnsPkg
|
||||||
pullomaticPkg
|
pullomaticPkg
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue