Compare commits
3 commits
4532cb43fa
...
5bda7a8481
Author | SHA1 | Date | |
---|---|---|---|
5bda7a8481 | |||
9bc508f4a6 | |||
b81c42034b |
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
file="$(mktemp --tmpdir=/dev/shm).php"
|
||||
file="$(mktemp)"
|
||||
cat - >"$file"
|
||||
./vendor/bin/pint --quiet "$file"
|
||||
cat "$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;
|
||||
|
|
34
user/ssh.nix
34
user/ssh.nix
|
@ -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" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue