dacbert, radiobert: copy sandro's kernel hack from pulsebert
This commit is contained in:
parent
58891a309e
commit
2c0eed36a1
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
# http https
|
# http https
|
||||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||||
|
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
recommendedProxySettings = true;
|
recommendedProxySettings = true;
|
||||||
|
|
|
@ -113,6 +113,10 @@ with lib;
|
||||||
url = "https://mobilizon.envs.net/@ffdd/feed/ics";
|
url = "https://mobilizon.envs.net/@ffdd/feed/ics";
|
||||||
color = "#AFAF00";
|
color = "#AFAF00";
|
||||||
};
|
};
|
||||||
|
astro = {
|
||||||
|
url = "https://mobilizon.c3d2.de/@astro/feed/ics";
|
||||||
|
color = "#333333";
|
||||||
|
};
|
||||||
dhmd = {
|
dhmd = {
|
||||||
url = "https://scrape.hq.c3d2.de/dhmd-veranstaltungen.ics";
|
url = "https://scrape.hq.c3d2.de/dhmd-veranstaltungen.ics";
|
||||||
color = "#E00728";
|
color = "#E00728";
|
||||||
|
|
|
@ -41,14 +41,19 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
kernelPackages = pkgs.linuxPackages_latest;
|
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 [
|
kernelParams = lib.mkForce [
|
||||||
"snd_bcm2835.enable_headphones=1"
|
"snd_bcm2835.enable_headphones=1"
|
||||||
# don't let sd-image-aarch64.nix setup serial console as it breaks bluetooth.
|
# don't let sd-image-aarch64.nix setup serial console as it breaks bluetooth.
|
||||||
"console=tty0"
|
"console=tty0"
|
||||||
];
|
];
|
||||||
# Don't build ZFS for aarch64 (broken?)
|
|
||||||
supportedFilesystems = lib.mkForce [ "vfat" "ext4" ];
|
|
||||||
|
|
||||||
tmpOnTmpfs = true;
|
tmpOnTmpfs = true;
|
||||||
};
|
};
|
||||||
|
|
|
@ -38,8 +38,14 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
kernelPackages = pkgs.linuxPackages_latest;
|
kernelPackages = pkgs.linuxPackages_latest;
|
||||||
# Don't build ZFS for aarch64 (broken?)
|
# TODO: can be removed when https://github.com/NixOS/nixpkgs/pull/142015 is merged
|
||||||
supportedFilesystems = lib.mkForce [ "vfat" "ext4" ];
|
kernelPatches = [{
|
||||||
|
name = "disable-FB_SIMPLE";
|
||||||
|
patch = null;
|
||||||
|
extraConfig = ''
|
||||||
|
FB_SIMPLE m
|
||||||
|
'';
|
||||||
|
}];
|
||||||
|
|
||||||
tmpOnTmpfs = true;
|
tmpOnTmpfs = true;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue