update flake and reorganize hardware

This commit is contained in:
Reid 2024-01-19 01:38:53 -08:00
parent 02dc000d8b
commit 2ab2b2d2da
3 changed files with 26 additions and 26 deletions

View file

@ -1,31 +1,34 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
# 🤓☝
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
[
(modulesPath + "/installer/scan/not-detected.nix")
];
boot = {
initrd.availableKernelModules = [ "xhci_pci" "usbhid" "usb_storage" ];
initrd.kernelModules = [ ];
kernelPackages = pkgs.linuxPackages_hardened;
# for some god awful reason, our HDMI output doesn't show
# init messages??? theres a workaround here though
#
# see: https://nixos.wiki/wiki/NixOS_on_ARM/Raspberry_Pi#Early_boot_messages
kernelModules = [ "vc4" "bcm2835_dma" "i2c_bcm2835" ];
loader = {
grub.enable = false;
# zigglebop 👽
grub.enable = lib.mkForce false;
generic-extlinux-compatible.enable = true;
};
initrd = {
availableKernelModules = [ "xhci_pci" "usbhid" "usb_storage" ];
kernelModules = [ ];
};
kernelModules = [ ];
extraModulePackages = [ ];
};
fileSystems."/" =
{ device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
fsType = "ext4";
};
};
swapDevices = [ ];