nixos-config/machines/RasPi-Server/default.nix

28 lines
456 B
Nix
Raw Normal View History

2021-01-21 22:13:53 +04:00
{ inputs, ... }: {
imports = with inputs.self.nixosModules; [
./hardware-configuration.nix
inputs.self.nixosProfiles.server
mailserver
];
2021-01-22 00:19:07 +04:00
loader.raspberryPi = {
enable = true;
version = 3;
};
2021-01-21 22:13:53 +04:00
deviceSpecific.devInfo = {
cpu = {
vendor = "broadcom";
clock = 4200;
cores = 8;
};
drive = {
type = "ssd";
speed = 6000;
size = 250;
};
bigScreen = true;
ram = 32;
};
}