mirror of
https://github.com/kmein/niveum
synced 2026-03-29 08:41:07 +02:00
Compare commits
2 Commits
c15f5375e2
...
6a873fb764
| Author | SHA1 | Date | |
|---|---|---|---|
| 6a873fb764 | |||
| bd92b75278 |
@@ -144,7 +144,7 @@
|
|||||||
fi
|
fi
|
||||||
echo "Deploying to ${hostname} via $reachable_target"
|
echo "Deploying to ${hostname} via $reachable_target"
|
||||||
export NIX_SSHOPTS='-p ${toString machines.${hostname}.sshPort}'
|
export NIX_SSHOPTS='-p ${toString machines.${hostname}.sshPort}'
|
||||||
${pkgs.nixos-rebuild}/bin/nixos-rebuild switch \
|
${pkgs.nixos-rebuild-ng}/bin/nixos-rebuild-ng switch \
|
||||||
--max-jobs 2 \
|
--max-jobs 2 \
|
||||||
--log-format internal-json \
|
--log-format internal-json \
|
||||||
--flake .#${hostname} \
|
--flake .#${hostname} \
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
haskellPackages,
|
haskellPackages,
|
||||||
}:
|
}:
|
||||||
writers.writeDashBin "closest" ''
|
writers.writeDashBin "closest" ''
|
||||||
${
|
exec ${
|
||||||
writers.writeHaskellBin "closest" {
|
writers.writeHaskellBin "closest" {
|
||||||
libraries = with haskellPackages; [
|
libraries = with haskellPackages; [
|
||||||
parallel
|
parallel
|
||||||
@@ -15,7 +15,7 @@ writers.writeDashBin "closest" ''
|
|||||||
"-O3"
|
"-O3"
|
||||||
"-threaded"
|
"-threaded"
|
||||||
];
|
];
|
||||||
} (builtins.readFile ./distance.hs)
|
} ./distance.hs
|
||||||
}/bin/closest +RTS -N4 -RTS --dictionary ${
|
}/bin/closest +RTS -N4 -RTS --dictionary ${
|
||||||
fetchurl {
|
fetchurl {
|
||||||
url = "https://gist.github.com/MarvinJWendt/2f4f4154b8ae218600eb091a5706b5f4/raw/36b70dd6be330aa61cd4d4cdfda6234dcb0b8784/wordlist-german.txt";
|
url = "https://gist.github.com/MarvinJWendt/2f4f4154b8ae218600eb091a5706b5f4/raw/36b70dd6be330aa61cd4d4cdfda6234dcb0b8784/wordlist-german.txt";
|
||||||
|
|||||||
Reference in New Issue
Block a user