diff --git a/scripts/pint-fmt b/scripts/pint-fmt index 4d84c88..85ea6cd 100755 --- a/scripts/pint-fmt +++ b/scripts/pint-fmt @@ -1,6 +1,6 @@ #!/bin/sh -file="$(mktemp)" +file="$(mktemp --tmpdir=/dev/shm).php" cat - >"$file" ./vendor/bin/pint --quiet "$file" cat "$file" diff --git a/system/containers.nix b/system/containers.nix index 37844f7..19698e5 100644 --- a/system/containers.nix +++ b/system/containers.nix @@ -12,14 +12,6 @@ "--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 4747bb4..60649ba 100644 --- a/user/ssh.nix +++ b/user/ssh.nix @@ -1,20 +1,26 @@ +{ + config, + pkgs, + lib, + ... +}: +let + inherit (config.my) username mail; +in { config = { - programs.ssh = { - enable = true; - matchBlocks = { - monolith = { - user = "lelgenio"; - hostname = "monolith.lelgenio.com"; - port = 9022; - }; - phantom = { - user = "root"; - hostname = "phantom.lelgenio.com"; - port = 9022; - }; + 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; }; - includes = [ "~/Wopus/.ssh.config" ]; }; }; }