Skip to content

Commit

Permalink
~
Browse files Browse the repository at this point in the history
  • Loading branch information
oluceps committed Oct 15, 2024
1 parent 8adb78f commit 4af5a8c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
4 changes: 2 additions & 2 deletions hosts/nodens/caddy.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
handle = [
{
handler = "acme_server";
challenges = "dns-01";
challenges = [ "dns-01" ];
resolvers = [
"udp://8.8.8.8:53"
"udp://1.1.1.1:53"
];
policy = {
allow.domains = [ "*" ];
# allow.domains = [ "nyaw.xyz" ];
allow_wildcard_names = true;
};
}
Expand Down
8 changes: 0 additions & 8 deletions overlays.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,6 @@

inherit (inputs'.browser-previews.packages) google-chrome-beta;

composefs = prev.composefs.overrideAttrs (old: {
src = prev.fetchFromGitHub {
owner = "alexlarsson";
repo = "composefs";
rev = "5f2be1f64f531f520943825ead9d738045234922";
hash = "sha256-1hypzL7w7kF1FsO2P8CpqRA2Qd6KTfogGNPBETxV+hY=";
};
});
helix = inputs'.helix.packages.default.override {
includeGrammarIf =
grammar:
Expand Down
5 changes: 3 additions & 2 deletions util.nu
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export def d [
nodes?: list<string>
mode?: string = "switch"
--builder (-b): string = "hastur"
--sod
] {

let get_addr = {|x| do $env.get_addr ($env.map) ($x)}
Expand All @@ -63,8 +64,8 @@ export def d [
from json |
$in.0.outputs.out)

# --substitute-on-destination
nix copy --to $'ssh://($per_node_addr)' $out_path
let sub = if ($sod) { "--substitute-on-destination" } else {""}
nix copy $sub --to $'ssh://($per_node_addr)' $out_path

log info "copy closure complete";
return [$per, $per_node_addr, $out_path];
Expand Down

0 comments on commit 4af5a8c

Please sign in to comment.