Files
nixos-setup/hosts/hl-minipc1.nix
T
2024-07-17 12:12:40 -04:00

23 lines
526 B
Nix

{ user }:
{ pkgs, lib, config, ... }: {
imports = [ ./hl-minipc1.hardware-configuration.nix ];
# firmware updater
services.fwupd.enable = true;
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
# Data
fileSystems."/mnt/Data" = {
device = "/dev/sda1";
fsType = "ext4";
options = [ "nofail" ];
};
services.audiobookshelf = {
enable = true;
host = "0.0.0.0";
openFirewall = true;
port = 8000;
dataDir = "audiobookshelf";
};
}