summaryrefslogtreecommitdiffstats
path: root/makefu/1systems/cake/hardware-config.nix
blob: 932aa192922b478d2dc790d144101d1c84e22e84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ pkgs, lib, ... }:
{
  environment.systemPackages = [ pkgs.libraspberrypi ];
  imports = [ <nixos-hardware/raspberry-pi/4> ];
  boot.kernelPackages = pkgs.linuxPackages_rpi4;
  fileSystems = {
    "/" = {
      device = "/dev/disk/by-label/NIXOS_SD";
      fsType = "ext4";
      options = [ "noatime" ];
    };
  };
  hardware.raspberry-pi."4".fkms-3d.enable = true; 
  hardware.raspberry-pi."4".audio.enable = true;  
}