2020-10-26 02:48:12 -07:00
|
|
|
{ ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
## System security tweaks
|
|
|
|
boot.tmpOnTmpfs = true;
|
|
|
|
security.hideProcessInformation = true;
|
|
|
|
security.protectKernelImage = true;
|
|
|
|
|
|
|
|
# Fix a security hole in place for backwards compatibility. See desc in
|
|
|
|
# nixpkgs/nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix
|
|
|
|
boot.loader.systemd-boot.editor = false;
|
|
|
|
|
|
|
|
# Change me later!
|
2020-12-31 14:31:29 -08:00
|
|
|
user.initialPassword = "nixos";
|
|
|
|
users.users.root.initialPassword = "nixos";
|
2020-10-26 02:48:12 -07:00
|
|
|
}
|