refactor: centralize SOPS configuration in separate file
All checks were successful
Flake checker / Build Nix targets (push) Successful in 9m29s

This commit is contained in:
uttarayan21
2025-09-03 14:22:01 +05:30
parent 3d2f53e8f5
commit be5b646ece
12 changed files with 39 additions and 30 deletions

View File

@@ -6,7 +6,6 @@
}: {
programs.ssh = {
enable = true;
enableDefaultConfig = false;
matchBlocks = {
tsuba = {
user = "servius";
@@ -46,13 +45,13 @@
hostname = "steamdeck";
forwardAgent = true;
};
"*" = {
forwardAgent = false;
addKeysToAgent = "no";
# compression = true;
# HashKnownHosts = "no";
serverAliveInterval = 60;
};
# "*" = {
# forwardAgent = false;
# addKeysToAgent = "no";
# # compression = true;
# # HashKnownHosts = "no";
# serverAliveInterval = 60;
# };
};
extraConfig =
lib.strings.optionalString (pkgs.stdenv.isDarwin && !device.isServer)
@@ -63,4 +62,7 @@
IdentityAgent ~/.1password/agent.sock
'';
};
# // lib.mkIf (!(device.is "tsuba")) {
# enableDefaultConfig = false;
# };
}