mirror of
https://github.com/srid/nixos-config.git
synced 2025-12-26 15:04:59 +08:00
Fix warnings
This commit is contained in:
parent
06944ac426
commit
10c8e2992e
2 changed files with 2 additions and 3 deletions
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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") ];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue