Fix warnings

This commit is contained in:
Sridhar Ratnakumar 2025-08-27 12:22:05 -04:00
parent 06944ac426
commit 10c8e2992e
2 changed files with 2 additions and 3 deletions

View file

@ -3,8 +3,6 @@
programs.ssh = {
enable = true;
addKeysToAgent = "yes";
includes = [
"~/.orbstack/ssh/config" # https://docs.orbstack.dev/machines/ssh
];
@ -12,6 +10,7 @@
# Note: More defined in juspay.nix
matchBlocks = {
"*" = {
addKeysToAgent = "yes";
setEnv = {
# https://ghostty.org/docs/help/terminfo#configure-ssh-to-fall-back-to-a-known-terminfo-entry
TERM = "xterm-256color";

View file

@ -30,7 +30,7 @@ in
# I don't have an Intel mac.
extra-platforms = lib.mkIf pkgs.stdenv.isDarwin "aarch64-darwin x86_64-darwin";
# Nullify the registry for purity.
flake-registry = builtins.toFile "empty-flake-registry.json" ''{"flakes":[],"version":2}'';
flake-registry = pkgs.writeText "empty-flake-registry.json" ''{"flakes":[],"version":2}'';
trusted-users = [ "root" (if pkgs.stdenv.isDarwin then flake.config.me.username else "@wheel") ];
};
};