diff --git a/scripts/pint-fmt b/scripts/pint-fmt index 85ea6cd..4d84c88 100755 --- a/scripts/pint-fmt +++ b/scripts/pint-fmt @@ -1,6 +1,6 @@ #!/bin/sh -file="$(mktemp --tmpdir=/dev/shm).php" +file="$(mktemp)" cat - >"$file" ./vendor/bin/pint --quiet "$file" cat "$file" diff --git a/system/containers.nix b/system/containers.nix index 19698e5..37844f7 100644 --- a/system/containers.nix +++ b/system/containers.nix @@ -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; diff --git a/user/ssh.nix b/user/ssh.nix index 60649ba..4747bb4 100644 --- a/user/ssh.nix +++ b/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" ]; }; }; }