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

34 lines
585 B
Nix
Raw Normal View History

2021-11-06 13:06:38 +04:00
{ inputs, pkgs, lib, ... }: {
imports = with inputs.self.nixosModules; with inputs.self.nixosProfiles; [
2021-01-21 22:13:53 +04:00
./hardware-configuration.nix
2021-06-24 12:41:17 +04:00
inputs.self.nixosRoles.server
2021-11-06 13:06:38 +04:00
themes
fonts
cage
gtk
alacritty
2021-01-21 22:13:53 +04:00
];
2021-01-22 00:19:07 +04:00
2021-01-22 00:34:43 +04:00
boot.loader.raspberryPi = {
2021-01-22 00:19:07 +04:00
enable = true;
version = 3;
};
2021-11-06 13:06:38 +04:00
nix.package = lib.mkForce pkgs.nixUnstable;
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;
};
}