Files
nixos/models/t0-qnap-ts-1079-pro/default.nix
JakeHillion b551862d40
flake / flake (push) Successful in 2m30s
nix-builder (aarch64-linux) Build completed successfully
nix-builder (x86_64-linux) Build completed successfully
qnap: use lcd display
2025-10-25 21:22:49 +01:00

27 lines
610 B
Nix

{ config, pkgs, lib, ... }:
{
imports = [
./disko.nix
];
config = {
## Systemd-boot
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
## Setup but don't enable tang, that depends on the device's location
custom.tang = {
networkingModule = "e1000e"; # Intel Gigabit Ethernet typically used in QNAP devices
secretFile = "/data/disk_encryption.jwe";
devices = [ "disk0-crypt" "disk1-crypt" ];
};
# Delegation
custom.impermanence.enable = true;
# QNAP LCD Display
custom.qnap-display.enable = true;
};
}