Merge branch 'main' of github.com:sajenim/dotfiles.nix

This commit is contained in:
♥ Minnie ♥ 2023-06-04 01:56:53 +08:00
commit 6dfadc88fb

View file

@ -89,16 +89,12 @@
# A lot of GUI programs need this, nearly all wayland applications # A lot of GUI programs need this, nearly all wayland applications
"cma=128M" "cma=128M"
]; ];
loader = { loader = {
# Use the extlinux boot loader. (NixOS wants to enable GRUB by default) # Use the extlinux boot loader. (NixOS wants to enable GRUB by default)
grub.enable = false; grub.enable = false;
# Enables the generation of /boot/extlinux/extlinux.conf # Enables the generation of /boot/extlinux/extlinux.conf
generic-extlinux-compatible.enable = true; generic-extlinux-compatible.enable = true;
}; };
# Mount a tmpfs on /tmp during boot
tmpOnTmpfs = true;
}; };
hardware = { hardware = {
@ -142,10 +138,12 @@
# Enable the OpenSSH daemon. # Enable the OpenSSH daemon.
openssh = { openssh = {
enable = true; enable = true;
# Disable root login. settings = {
permitRootLogin = "no"; # Disable root login.
# Disable password login (Require keys). PermitRootLogin = "no";
passwordAuthentication = false; # Disable password login (Require keys).
PasswordAuthentication = false;
};
}; };
}; };