mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 23:00:14 +01:00
41 lines
835 B
Nix
41 lines
835 B
Nix
{ config, pkgs, lib, ... }:
|
|
{
|
|
imports = [
|
|
./../../modules/core/default.server.nix
|
|
./../../modules/services/mpd.nix
|
|
];
|
|
|
|
networking.hostName = "posy";
|
|
|
|
time.timeZone = "Europe/Amsterdam";
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
pkgs.kitty.terminfo
|
|
];
|
|
|
|
boot = {
|
|
kernelPackages = pkgs.linuxKernel.packages.linux_rpi4;
|
|
initrd.availableKernelModules = [ "xhci_pci" "usbhid" "usb_storage" ];
|
|
loader = {
|
|
grub.enable = false;
|
|
generic-extlinux-compatible.enable = true;
|
|
};
|
|
};
|
|
|
|
services = {
|
|
smartd = {
|
|
enable = lib.mkForce false;
|
|
autodetect = lib.mkForce false;
|
|
};
|
|
};
|
|
|
|
fileSystems = {
|
|
"/" = {
|
|
device = "/dev/disk/by-label/NIXOS_SD";
|
|
fsType = "ext4";
|
|
options = [ "noatime" ];
|
|
};
|
|
};
|
|
|
|
hardware.enableRedistributableFirmware = true;
|
|
}
|