music fixes
This commit is contained in:
parent
bfb12e3eca
commit
3d8ab55a8f
1 changed files with 38 additions and 8 deletions
|
|
@ -2,6 +2,7 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
"${inputs.nixpkgs}/nixos/modules/installer/sd-card/sd-image-aarch64.nix"
|
"${inputs.nixpkgs}/nixos/modules/installer/sd-card/sd-image-aarch64.nix"
|
||||||
|
"${inputs.nixpkgs}/nixos/modules/profiles/minimal.nix"
|
||||||
# "${inputs.nixos-hardware}/raspberry-pi/4/default.nix"
|
# "${inputs.nixos-hardware}/raspberry-pi/4/default.nix"
|
||||||
];
|
];
|
||||||
# fix: https://github.com/NixOS/nixpkgs/issues/126755#issuecomment-869149243
|
# fix: https://github.com/NixOS/nixpkgs/issues/126755#issuecomment-869149243
|
||||||
|
|
@ -12,11 +13,40 @@
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
boot.supportedFilesystems = lib.mkForce [ "reiserfs" "vfat" "ext4" ]; # we dont need zfs here
|
boot.supportedFilesystems = lib.mkForce [ "reiserfs" "vfat" "ext4" ]; # we dont need zfs here
|
||||||
documentation.enable = false;
|
|
||||||
documentation.nixos.enable = false;
|
|
||||||
boot = {
|
boot = {
|
||||||
kernelPackages = lib.mkDefault pkgs.linuxPackages_rpi4;
|
kernelPackages = lib.mkDefault pkgs.linuxPackages_rpi4;
|
||||||
initrd.availableKernelModules = [ "usbhid" "usb_storage" "vc4" ];
|
initrd.availableKernelModules = lib.mkForce [
|
||||||
|
"ahci"
|
||||||
|
|
||||||
|
"ata_piix"
|
||||||
|
|
||||||
|
"sata_inic162x"
|
||||||
|
"sata_nv"
|
||||||
|
"sata_promise"
|
||||||
|
"sata_qstor"
|
||||||
|
"sata_sil"
|
||||||
|
"sata_sil24"
|
||||||
|
"sata_sis"
|
||||||
|
"sata_svw"
|
||||||
|
"sata_sx4"
|
||||||
|
"sata_uli"
|
||||||
|
"sata_via"
|
||||||
|
"sata_vsc"
|
||||||
|
|
||||||
|
# USB support, especially for booting from USB CD-ROM
|
||||||
|
# drives.
|
||||||
|
"uas"
|
||||||
|
|
||||||
|
# SD cards.
|
||||||
|
"sdhci_pci"
|
||||||
|
|
||||||
|
"vc4"
|
||||||
|
"pcie-brcmstb"
|
||||||
|
"simplefb"
|
||||||
|
"usbhid"
|
||||||
|
"usb_storage"
|
||||||
|
"vc4"
|
||||||
|
];
|
||||||
|
|
||||||
loader = {
|
loader = {
|
||||||
grub.enable = lib.mkDefault false;
|
grub.enable = lib.mkDefault false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue