helm/modules/security.nix
Henrik Lissner 13afdacb45
Initial password "nixos"
Instead of "nix". Will be changed immediately post-install anyway.
2020-12-31 17:31:29 -05:00

17 lines
443 B
Nix

{ ... }:
{
## 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!
user.initialPassword = "nixos";
users.users.root.initialPassword = "nixos";
}