snowflake/hosts/arashi/default.nix
notohh 160107921e
All checks were successful
flake check / check (push) Successful in 3m23s
fmt check / check (push) Successful in 40s
arashi: enable postgres export
2023-11-13 16:06:53 -05:00

37 lines
781 B
Nix

{...}: {
imports = [
./hardware-configuration.nix
./services
../../modules
../../modules/prometheus/exporters/postgres.nix
];
boot.loader = {
grub = {
enable = true;
configurationLimit = 5;
device = "/dev/sda";
useOSProber = false;
};
};
boot.kernel.sysctl = {
"kernel.shmmax" = 100663296;
};
networking = {
hostName = "arashi";
};
services.xserver = {
layout = "us";
xkbVariant = "";
};
users.users.notoh.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKWRbIwwHuyEOLhA9dKTf4TgFqtPR5MNcJorKm731S7G arashi"
];
users.users.root.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMd8j1+fC/ng7l17rsxugVtlhurUe1ICizwA9lQkSuNY forgejo"
];
}