Compare commits

..

2 Commits

Author SHA1 Message Date
b59684816f Set up nix-ld for vscode remote. 2024-10-12 10:45:29 +01:00
4fed25b153 Disable sponsorship check. 2024-10-11 21:56:05 +01:00
3 changed files with 17 additions and 0 deletions

View File

@@ -8,4 +8,12 @@
]; ];
boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
# for vscode remote to work
programs.nix-ld = {
enable = true;
libraries = with pkgs; [
stdenv.cc.cc
];
};
} }

View File

@@ -11,6 +11,10 @@
NOMAD_ADDR = "http://nomad.service.consul:4646"; NOMAD_ADDR = "http://nomad.service.consul:4646";
LESS = "-F -i -M -+S -R -w -X -z-4"; LESS = "-F -i -M -+S -R -w -X -z-4";
SYSTEMD_LESS = "FiM+SRwXz-4"; SYSTEMD_LESS = "FiM+SRwXz-4";
NIX_LD = "${pkgs.glibc}/lib/ld-linux-x86-64.so.2";
NIX_LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [
pkgs.stdenv.cc.cc
];
}; };
shellAliases = { shellAliases = {

View File

@@ -37,6 +37,11 @@ job "evcc" {
] ]
} }
env {
# this makes the sponsorship cloud API call not work, and it defaults to success ¯\_(ツ)_/¯
GRPC_URI = "1.1.1.1:1111"
}
service { service {
name = "evcc" name = "evcc"
port = "ui" port = "ui"