update pi4

This commit is contained in:
mjallen18
2024-06-19 19:42:58 -05:00
parent 2f5fcd3f45
commit eb2a4fcda1

View File

@@ -32,7 +32,7 @@ in
]; ];
boot = { boot = {
kernelPackages = pkgs.linuxKernel.packages.linux_rpi4; kernelPackages = pkgs.linuxPackages_latest;
initrd.availableKernelModules = [ initrd.availableKernelModules = [
"xhci_pci" "xhci_pci"
"usbhid" "usbhid"
@@ -71,14 +71,14 @@ in
}; };
}; };
# systemd.services.btattach = { systemd.services.btattach = {
# before = [ "bluetooth.service" ]; before = [ "bluetooth.service" ];
# after = [ "dev-ttyAMA0.device" ]; after = [ "dev-ttyAMA0.device" ];
# wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
# serviceConfig = { serviceConfig = {
# ExecStart = "${pkgs.bluez}/bin/btattach -B /dev/ttyAMA0 -P bcm -S 3000000"; ExecStart = "${pkgs.bluez}/bin/btattach -B /dev/ttyAMA0 -P bcm -S 3000000";
# }; };
# }; };
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
vim vim
@@ -105,8 +105,6 @@ in
virtualisation.docker.enable = true; virtualisation.docker.enable = true;
console.enable = false;
# This option defines the first version of NixOS you have installed on this particular machine, # This option defines the first version of NixOS you have installed on this particular machine,
# and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions. # and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions.
# #