dacbert, radiobert: copy sandro's kernel hack from pulsebert

This commit is contained in:
Astro 2021-10-19 01:26:48 +02:00
parent 58891a309e
commit 2c0eed36a1
4 changed files with 21 additions and 6 deletions

View File

@ -15,7 +15,7 @@
# http https
networking.firewall.allowedTCPPorts = [ 80 443 ];
services.nginx = {
enable = true;
recommendedProxySettings = true;

View File

@ -113,6 +113,10 @@ with lib;
url = "https://mobilizon.envs.net/@ffdd/feed/ics";
color = "#AFAF00";
};
astro = {
url = "https://mobilizon.c3d2.de/@astro/feed/ics";
color = "#333333";
};
dhmd = {
url = "https://scrape.hq.c3d2.de/dhmd-veranstaltungen.ics";
color = "#E00728";

View File

@ -41,14 +41,19 @@
};
};
kernelPackages = pkgs.linuxPackages_latest;
# kernelPackages = pkgs."linuxPackages_rpi${toString config.boot.loader.raspberryPi.version}";
# TODO: can be removed when https://github.com/NixOS/nixpkgs/pull/142015 is merged
kernelPatches = [{
name = "disable-FB_SIMPLE";
patch = null;
extraConfig = ''
FB_SIMPLE m
'';
}];
kernelParams = lib.mkForce [
"snd_bcm2835.enable_headphones=1"
# don't let sd-image-aarch64.nix setup serial console as it breaks bluetooth.
"console=tty0"
];
# Don't build ZFS for aarch64 (broken?)
supportedFilesystems = lib.mkForce [ "vfat" "ext4" ];
tmpOnTmpfs = true;
};

View File

@ -38,8 +38,14 @@
};
};
kernelPackages = pkgs.linuxPackages_latest;
# Don't build ZFS for aarch64 (broken?)
supportedFilesystems = lib.mkForce [ "vfat" "ext4" ];
# TODO: can be removed when https://github.com/NixOS/nixpkgs/pull/142015 is merged
kernelPatches = [{
name = "disable-FB_SIMPLE";
patch = null;
extraConfig = ''
FB_SIMPLE m
'';
}];
tmpOnTmpfs = true;
};