32 lines
663 B
Nix
32 lines
663 B
Nix
{...}: {
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
./services
|
|
../../modules
|
|
];
|
|
|
|
boot.loader = {
|
|
grub = {
|
|
enable = true;
|
|
configurationLimit = 5;
|
|
device = "/dev/sda";
|
|
useOSProber = false;
|
|
};
|
|
};
|
|
|
|
networking = {
|
|
hostName = "tsuru";
|
|
};
|
|
|
|
services.xserver = {
|
|
layout = "us";
|
|
xkbVariant = "";
|
|
};
|
|
|
|
users.users.notoh.openssh.authorizedKeys.keys = [
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKwby2FLCKFZZlOLDRhsm9GckyYAuyk0mq28jRD02tdv tsuru"
|
|
];
|
|
users.users.root.openssh.authorizedKeys.keys = [
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINGPcRO9BzKIhAxiyVnRIcByaMTrxeeeJqB8iXcmhrI4 forgejo"
|
|
];
|
|
}
|