Fix build on mistmane
This commit is contained in:
parent
08fa3eab55
commit
da0e1e8e28
|
@ -36,7 +36,7 @@
|
|||
steam-hardware.enable = true;
|
||||
sane = {
|
||||
enable = true;
|
||||
brscan5.enable = true;
|
||||
brscan5.enable = (pkgs.system == "x86_64-linux");
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
{
|
||||
boot = {
|
||||
kernel.sysctl."vm.swappiness" = 5;
|
||||
kernelPackages = pkgs.linuxPackages_pinebookpro_lts;
|
||||
kernelParams = [ "console=tty1" ];
|
||||
cleanTmpDir = true;
|
||||
loader.grub.enable = false;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
{ config, pkgs, lib, inputs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
|
@ -6,6 +6,7 @@
|
|||
./hardware-configuration.nix
|
||||
../../sets/laptop.nix
|
||||
../../sets/workstation.nix
|
||||
"${inputs.wip-pinebook-pro}/pinebook_pro.nix"
|
||||
];
|
||||
|
||||
networking.hostName = "mistmane";
|
||||
|
@ -45,9 +46,5 @@
|
|||
extraConfig = lib.mkForce "HandlePowerKey=lock";
|
||||
};
|
||||
|
||||
# rockchip/dptx.bin isn't in the initrd. Instead of fix nixpkgs let's do something incredibly cursed
|
||||
boot.extraModulePackages = [ (pkgs.callPackage ../../externals/packages/dptx-dummy { kernel = config.boot.kernelPackages.kernel; }) ];
|
||||
boot.initrd.availableKernelModules = [ "dptx-dummy" ];
|
||||
|
||||
system.stateVersion = "21.11";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue