vno1-rp3b: remove audio/video
This commit is contained in:
parent
ae7b12a04f
commit
0246f9fd69
@ -15,7 +15,6 @@
|
|||||||
boot.initrd.availableKernelModules = ["usbhid"];
|
boot.initrd.availableKernelModules = ["usbhid"];
|
||||||
boot.initrd.kernelModules = ["vc4" "bcm2835_dma" "i2c_bcm2835"];
|
boot.initrd.kernelModules = ["vc4" "bcm2835_dma" "i2c_bcm2835"];
|
||||||
boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
|
boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
|
||||||
boot.kernelParams = ["cma=320M"];
|
|
||||||
boot.kernelModules = [];
|
boot.kernelModules = [];
|
||||||
boot.extraModulePackages = [];
|
boot.extraModulePackages = [];
|
||||||
boot.loader.grub.enable = false;
|
boot.loader.grub.enable = false;
|
||||||
@ -24,9 +23,6 @@
|
|||||||
boot.supportedFilesystems = [ "zfs" ];
|
boot.supportedFilesystems = [ "zfs" ];
|
||||||
boot.zfs.forceImportRoot = false;
|
boot.zfs.forceImportRoot = false;
|
||||||
|
|
||||||
boot.loader.raspberryPi.firmwareConfig = ''
|
|
||||||
dtparam=audio=on
|
|
||||||
'';
|
|
||||||
powerManagement.cpuFreqGovernor = "ondemand";
|
powerManagement.cpuFreqGovernor = "ondemand";
|
||||||
|
|
||||||
fileSystems."/" = {
|
fileSystems."/" = {
|
||||||
@ -34,6 +30,11 @@
|
|||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fileSystems."/data" = {
|
||||||
|
device = "datapool/root";
|
||||||
|
fsType = "zfs";
|
||||||
|
};
|
||||||
|
|
||||||
swapDevices = [];
|
swapDevices = [];
|
||||||
|
|
||||||
mj = {
|
mj = {
|
||||||
@ -70,25 +71,6 @@
|
|||||||
|
|
||||||
services.tailscale.enable = true;
|
services.tailscale.enable = true;
|
||||||
|
|
||||||
services.pipewire = {
|
|
||||||
enable = true;
|
|
||||||
alsa.enable = true;
|
|
||||||
alsa.support32Bit = true;
|
|
||||||
pulse.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
users.extraUsers.kodi.isNormalUser = true;
|
|
||||||
|
|
||||||
services.cage = {
|
|
||||||
user = "kodi";
|
|
||||||
program = let
|
|
||||||
kodi-wayland = pkgs.kodi-wayland.passthru.withPackages (kodiPkgs: [
|
|
||||||
kodiPkgs.youtube
|
|
||||||
]);
|
|
||||||
in "${kodi-wayland}/bin/kodi-standalone";
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
services.journald.extraConfig = "Storage=volatile";
|
services.journald.extraConfig = "Storage=volatile";
|
||||||
|
|
||||||
environment.etc = {
|
environment.etc = {
|
||||||
@ -112,8 +94,6 @@
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
firewall = {
|
firewall = {
|
||||||
allowedUDPPorts = [myData.ports.kodi];
|
|
||||||
allowedTCPPorts = [myData.ports.kodi];
|
|
||||||
checkReversePath = "loose"; # for tailscale
|
checkReversePath = "loose"; # for tailscale
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user