refactor: centralize SOPS configuration in separate file
All checks were successful
Flake checker / Build Nix targets (push) Successful in 9m29s
All checks were successful
Flake checker / Build Nix targets (push) Successful in 9m29s
This commit is contained in:
@@ -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;
|
||||
# };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user