This commit is contained in:
Schrottkatze 2023-09-25 19:24:42 +02:00
parent fdfb63efdf
commit 1c68283f06
4 changed files with 83 additions and 30 deletions

View file

@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, ... }:
{ config, pkgs, lib, ... }:
let
evremap = pkgs.rustPlatform.buildRustPackage {
pname = "evremap";
@ -82,6 +82,32 @@ in {
};
};
nixpkgs = {
overlays = [
(self: super: {
linux_zen_xeniafied = pkgs.linuxPackagesFor (pkgs.linuxKernel.kernels.linux_zen.override {
structuredExtraConfig = with lib.kernel; {
"FB" = yes;
"FRAMEBUFFER_CONSOLE" = yes;
"VGA_CONSOLE" = yes;
"VIDEO_SELECT" = yes;
LOGO = lib.mkForce yes;
LOGO_LINUX_CLUT224 = yes;
};
ignoreConfigErrors = true;
});
})
];
};
boot.kernelPackages = pkgs.linuxPackages_zen;
boot.kernelPatches = [
{
name = "fomx";
patch = ../../other/0001-fomx.patch;
}
];
services.xserver.displayManager.autoLogin = {
enable = true;
user = "jade";