notohh
3d2e5368cb
Some checks failed
fmt check / check (push) Waiting to run
flake check / check (push) Has been cancelled
38 lines
788 B
Nix
38 lines
788 B
Nix
{...}: {
|
|
imports = [
|
|
./hardware.nix
|
|
./services
|
|
./networking.nix
|
|
../../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"
|
|
];
|
|
}
|