Remove kernel option from base module

This commit is contained in:
Erwin Boskma 2023-05-25 08:01:53 +02:00
parent 34f04ca705
commit b73a53c427
Signed by: erwin
SSH key fingerprint: SHA256:3F6Cm6I3erRqlBwEghZWAQl6eS5WrGTX1Vs/Evec1lQ
4 changed files with 12 additions and 18 deletions

View file

@ -36,7 +36,6 @@
base = {
plymouth.enable = true;
work = true;
kernel = pkgs.linuxKernel.packages.linux_6_2;
};
desktop = {
@ -66,13 +65,16 @@
};
# Use the systemd-boot EFI boot loader.
boot.loader = {
boot = {
kernelPackages = pkgs.linuxPackages_6_2;
loader = {
systemd-boot = {
enable = true;
configurationLimit = 15;
};
efi.canTouchEfiVariables = true;
};
};
time.timeZone = "Europe/Amsterdam";

View file

@ -7,6 +7,7 @@
../../users/root
../../users/erwin
./home.nix
];
eboskma = {
@ -14,14 +15,13 @@
enable = true;
server = true;
};
base.kernel = pkgs.linuxPackages_rpi4;
klipper.enable = true;
networking.enable = true;
nix-common.enable = true;
systemd.enable = true;
};
users.users.erwin.initialHashedPassword = "$6$Tm4P3XjXJ/QrNaYW$7VqMt.AdQEtHXKjTWCJ3NVq1BiD.mx57skA3ZZrO7LgYnTM/jJLcD0CjWuED57IeGnKdBqYB1tFI5.J.UIVhR.";
# nixpkgs.crossSystem.system = "aarch64-linux";
hardware = {
enableAllFirmware = true; # This also sets hardware.enableRedistributableFirmware
@ -33,6 +33,7 @@
boot = {
bootspec.enable = true;
kernelPackages = pkgs.linuxPackages_rpi4;
};
zramSwap.enable = true;

View file

@ -16,7 +16,6 @@
enable = true;
};
base = {
kernel = pkgs.linuxKernel.packages.linux_rpi4;
plymouth.enable = true;
};
desktop = {
@ -41,12 +40,12 @@
enableAllFirmware = true;
raspberry-pi."4".fkms-3d = {
enable = true;
cma = 256;
};
};
boot = {
bootspec.enable = true;
kernelPackages = pkgs.linuxPackages_rpi4;
};
zramSwap.enable = true;

View file

@ -33,12 +33,6 @@ with lib; let
in
{
options.eboskma.base = {
kernel = mkOption {
description = "which kernel to run";
type = types.unspecified;
default = pkgs.linuxPackages;
};
plymouth = {
enable = mkEnableOption "plymouth splash screen";
};
@ -59,8 +53,6 @@ in
};
config = {
boot.kernelPackages = cfg.kernel;
boot.plymouth = mkIf cfg.plymouth.enable {
enable = true;
themePackages = [ plymouth-nixos-blur ];