nixos-vultr-securestrap/configuration.nix

26 lines
822 B
Nix
Raw Permalink Normal View History

2016-02-08 17:44:12 +01:00
{ config, pkgs, ...}:
{
imports =
[
2016-02-08 17:44:48 +01:00
<nixpkgs/nixos/modules/profiles/minimal.nix>
./hardware-configuration.nix
2019-02-09 18:04:17 +01:00
./luks-configuration.nix
2016-02-08 17:44:12 +01:00
];
boot.loader.grub.enable = true;
boot.loader.grub.version = 2;
boot.loader.grub.device = "/dev/vda";
services.openssh.enable = true;
2016-02-08 17:44:48 +01:00
users.users.root = {
2016-02-08 17:44:12 +01:00
openssh.authorizedKeys.keys =
[
2016-02-08 17:44:48 +01:00
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCs9Pbv7H3rZPMtDhjeIPjMDstgE/r7Vaa0jAuYB7EUEZP2vnclnaF28oLTWW/Zf6XDarQowPF5EnVOk75PkZIFQ7j5TpwQtaBE1F8LtIVN2d2cGmZmAKhHzhcU/hOedDDVeGvWqM9EQo8LCVSvunTOfGOcuZdqO+iiGG0D2EP6R28r22ZZdVI4f0KQisbIdx7r3Mdz9W55Mh6cRiibfzhjq0M/cvmz1homwznC4GgGL8UNrG5HS0i2qgg/OtmbFH+h1rWGxCktZHeAHUnkEDq1//6jC+mPeTNxlDAOAmUeKGZmDWNDrprryBerp8sPjnB3Io+gCuqbRN9+6fJRs88D"
2016-02-08 17:44:12 +01:00
];
};
2016-02-08 17:44:48 +01:00
system.stateVersion = "18.09";
2016-02-08 17:44:12 +01:00
}