use open nvidia package, and ssh config for setting up openwrt
This commit is contained in:
@@ -7,6 +7,7 @@
|
|||||||
shellAliases = {
|
shellAliases = {
|
||||||
ll = "ls -l";
|
ll = "ls -l";
|
||||||
update = "sudo nixos-rebuild switch";
|
update = "sudo nixos-rebuild switch";
|
||||||
|
updateOffline = "sudo nixos-rebuild switch --option substitute false";
|
||||||
};
|
};
|
||||||
oh-my-zsh = {
|
oh-my-zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
40
modules/cursed-ssh-conf-for-3neo.nix
Normal file
40
modules/cursed-ssh-conf-for-3neo.nix
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
{
|
||||||
|
services.openssh.enable = true;
|
||||||
|
services.openssh.extraConfig = ''
|
||||||
|
HostKeyAlgorithms +ssh-rsa
|
||||||
|
PubkeyAcceptedAlgorithms +ssh-rsa
|
||||||
|
'';
|
||||||
|
|
||||||
|
services.openssh.settings.Macs = [
|
||||||
|
"hmac-md5"
|
||||||
|
];
|
||||||
|
services.openssh.settings.Ciphers = [
|
||||||
|
"3des-cbc"
|
||||||
|
"aes128-cbc"
|
||||||
|
"aes192-cbc"
|
||||||
|
"aes256-cbc"
|
||||||
|
"aes128-ctr"
|
||||||
|
"aes192-ctr"
|
||||||
|
"aes256-ctr"
|
||||||
|
"aes128-gcm@openssh.com"
|
||||||
|
"aes256-gcm@openssh.com"
|
||||||
|
"chacha20-poly1305@openssh.com"
|
||||||
|
];
|
||||||
|
|
||||||
|
services.openssh.settings.KexAlgorithms = [
|
||||||
|
"diffie-hellman-group1-sha1"
|
||||||
|
"diffie-hellman-group14-sha1"
|
||||||
|
"diffie-hellman-group14-sha256"
|
||||||
|
"diffie-hellman-group16-sha512"
|
||||||
|
"diffie-hellman-group18-sha512"
|
||||||
|
"diffie-hellman-group-exchange-sha1"
|
||||||
|
"diffie-hellman-group-exchange-sha256"
|
||||||
|
"ecdh-sha2-nistp256"
|
||||||
|
"ecdh-sha2-nistp384"
|
||||||
|
"ecdh-sha2-nistp521"
|
||||||
|
"curve25519-sha256"
|
||||||
|
"curve25519-sha256@libssh.org"
|
||||||
|
"sntrup761x25519-sha512@openssh.com"
|
||||||
|
];
|
||||||
|
services.atftpd.enable = true;
|
||||||
|
}
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
# https://github.com/NVIDIA/open-gpu-kernel-modules#compatible-gpus
|
# https://github.com/NVIDIA/open-gpu-kernel-modules#compatible-gpus
|
||||||
# Only available from driver 515.43.04+
|
# Only available from driver 515.43.04+
|
||||||
# Currently alpha-quality/buggy, so false is currently the recommended setting.
|
# Currently alpha-quality/buggy, so false is currently the recommended setting.
|
||||||
open = false;
|
open = true;
|
||||||
# Enable the Nvidia settings menu,
|
# Enable the Nvidia settings menu,
|
||||||
# accessible via `nvidia-settings`.
|
# accessible via `nvidia-settings`.
|
||||||
nvidiaSettings = true;
|
nvidiaSettings = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user