summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-05-13 08:51:56 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2022-05-13 08:51:56 +0200
commit8399e42819e43611cd39663f28adfd80151c86f0 (patch)
tree49515e86ca5d07dd0bac53374e5e9db030c55ddd
parent0749ba0450fab16fda5d3127f9ac4568b2a946e2 (diff)
downloadnixos-8399e42819e43611cd39663f28adfd80151c86f0.tar
nixos-8399e42819e43611cd39663f28adfd80151c86f0.tar.gz
nixos-8399e42819e43611cd39663f28adfd80151c86f0.tar.bz2
nixos-8399e42819e43611cd39663f28adfd80151c86f0.tar.xz
nixos-8399e42819e43611cd39663f28adfd80151c86f0.zip
gkleen@sif: ...
-rw-r--r--accounts/gkleen@sif/default.nix2
-rw-r--r--system-profiles/openssh/default.nix2
-rw-r--r--user-profiles/yt-dlp.nix1
3 files changed, 5 insertions, 0 deletions
diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix
index 2d93b94b..69c3369f 100644
--- a/accounts/gkleen@sif/default.nix
+++ b/accounts/gkleen@sif/default.nix
@@ -62,6 +62,8 @@ in {
62 HostKeyAlgorithms +ssh-rsa 62 HostKeyAlgorithms +ssh-rsa
63 PubkeyAcceptedAlgorithms +ssh-rsa 63 PubkeyAcceptedAlgorithms +ssh-rsa
64 ConnectTimeout 30 64 ConnectTimeout 30
65 PasswordAuthentication yes
66 KbdInteractiveAuthentication yes
65 67
66 Match host *.mathinst.loc !host mathw0g.mathinst.loc !exec "nc -z -w 1 %h %p &>/dev/null" 68 Match host *.mathinst.loc !host mathw0g.mathinst.loc !exec "nc -z -w 1 %h %p &>/dev/null"
67 # ProxyCommand ${pkgs.socat}/bin/socat - SOCKS4A:127.0.0.1:%h:%p,socksport=8118 69 # ProxyCommand ${pkgs.socat}/bin/socat - SOCKS4A:127.0.0.1:%h:%p,socksport=8118
diff --git a/system-profiles/openssh/default.nix b/system-profiles/openssh/default.nix
index 19bc46b7..47908682 100644
--- a/system-profiles/openssh/default.nix
+++ b/system-profiles/openssh/default.nix
@@ -54,6 +54,8 @@ in {
54 extraConfig = '' 54 extraConfig = ''
55 Host * 55 Host *
56 CASignatureAlgorithms sk-ssh-ed25519@openssh.com,ssh-ed25519,rsa-sha2-256,rsa-sha2-512 56 CASignatureAlgorithms sk-ssh-ed25519@openssh.com,ssh-ed25519,rsa-sha2-256,rsa-sha2-512
57 PasswordAuthentication no
58 KbdInteractiveAuthentication no
57 ''; 59 '';
58 }; 60 };
59 61
diff --git a/user-profiles/yt-dlp.nix b/user-profiles/yt-dlp.nix
index c7378716..dcba7fe2 100644
--- a/user-profiles/yt-dlp.nix
+++ b/user-profiles/yt-dlp.nix
@@ -14,6 +14,7 @@
14 --prefer-free-formats 14 --prefer-free-formats
15 --embed-metadata 15 --embed-metadata
16 --downloader ${pkgs.aria2}/bin/aria2c 16 --downloader ${pkgs.aria2}/bin/aria2c
17 --sponsorblock-mark all
17 ''; 18 '';
18 }; 19 };
19} 20}