Compare commits

...

3 commits

Author SHA1 Message Date
Leonardo Eugênio 5bda7a8481 ssh: include private configs 2024-10-25 16:43:53 -03:00
Leonardo Eugênio 9bc508f4a6 scripts: update pint-fmt 2024-10-25 16:43:20 -03:00
Leonardo Eugênio b81c42034b docker: fix logging for bitbucket runner 2024-10-25 16:33:21 -03:00
3 changed files with 23 additions and 21 deletions

View file

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
file="$(mktemp --tmpdir=/dev/shm).php" file="$(mktemp)"
cat - >"$file" cat - >"$file"
./vendor/bin/pint --quiet "$file" ./vendor/bin/pint --quiet "$file"
cat "$file" cat "$file"

View file

@ -12,6 +12,14 @@
"--volumes" "--volumes"
]; ];
}; };
daemon.settings = {
# needed by bitbucket runner ???
log-driver = "json-file";
log-opts = {
max-size = "10m";
max-file = "3";
};
};
}; };
programs.extra-container.enable = true; programs.extra-container.enable = true;

View file

@ -1,26 +1,20 @@
{
config,
pkgs,
lib,
...
}:
let
inherit (config.my) username mail;
in
{ {
config = { config = {
programs.ssh.enable = true; programs.ssh = {
programs.ssh.matchBlocks = { enable = true;
monolith = { matchBlocks = {
user = "lelgenio"; monolith = {
hostname = "monolith.lelgenio.com"; user = "lelgenio";
port = 9022; hostname = "monolith.lelgenio.com";
}; port = 9022;
phantom = { };
user = "root"; phantom = {
hostname = "phantom.lelgenio.com"; user = "root";
port = 9022; hostname = "phantom.lelgenio.com";
port = 9022;
};
}; };
includes = [ "~/Wopus/.ssh.config" ];
}; };
}; };
} }