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
file="$(mktemp --tmpdir=/dev/shm).php"
file="$(mktemp)"
cat - >"$file"
./vendor/bin/pint --quiet "$file"
cat "$file"

View file

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

View file

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