Skip to content

Commit 467918a

Browse files
committed
Fix ca certs
1 parent 0e910b1 commit 467918a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

flake.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@
8888
session required pam_unix.so
8989
EOF
9090
echo "coder ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers
91-
cp -r ${pkgs.cacert}/etc/ssl /etc/ssl
91+
mkdir -p /etc/ssl/certs
92+
cp -r ${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt /etc/ssl/certs/ca-certificates.crt
9293
cp ${pkgs.sudo}/bin/sudo /usr/bin/sudo
9394
chmod 4755 /usr/bin/sudo
9495
'';

0 commit comments

Comments
 (0)