disko for rock5b

This commit is contained in:
Andrea Ciceri 2023-04-12 10:55:15 +02:00
parent 7cf02684d9
commit 11b7466753
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg
3 changed files with 51 additions and 27 deletions

View file

@ -6,21 +6,27 @@
config,
...
}: {
imports =
[
./hardware-configuration.nix
]
++ (fleetModules [
"common"
"ssh"
"ccr"
"cgit"
]);
imports = fleetModules [
"common"
"ssh"
"ccr"
];
ccr.enable = true;
services.rock5b-fan-control.enable = true;
nixpkgs.hostPlatform = "aarch64-linux";
swapDevices = [];
boot.loader = {
grub.enable = false;
generic-extlinux-compatible.enable = true;
};
disko.devices = import ./disko.nix {};
services.nginx.enable = true;
services.nginx.virtualHosts."localhost" = {
cgit = {