fixes compilation bug

This commit is contained in:
Fabian Montero 2023-09-05 22:52:14 -06:00
parent b0713c7857
commit f32b6f7a19
Signed by: fabian
GPG key ID: 1FFAC35E1798174F

View file

@ -6,33 +6,36 @@
# Copyright (C) 2023 - Group 8
{ pkgs, ... }: {
system.stateVersion = "23.05";
system.nixos = {
distroName = "TriviOS";
variant_id = "rpi3";
};
system.stateVersion = "23.05";
hardware.enableRedistributableFirmware = true;
environment.systemPackages = with pkgs; [ libraspberrypi ];
networking.wireless.enable = true;
boot = {
loader.raspberryPi = {
enable = true;
version = 3;
firmwareConfig = ''
core_freq=250
'';
loader = {
raspberryPi = {
enable = true;
version = 3;
firmwareConfig = ''
core_freq=250
'';
};
grub.enable = false;
};
loader.grub.enable = false;
initrd.includeDefaultModules = false;
kernelPackages = pkgs.linuxPackages_rpi3;
kernelParams = [
"console=ttyS1,115200n8"
];
};
hardware.enableRedistributableFirmware = true;
networking.wireless.enable = true;
environment.systemPackages = with pkgs; [ libraspberrypi ];
fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/B007-B007";
@ -40,6 +43,4 @@
options = [ "umask=027" ];
};
};
}