Make zfs and amdgpu modules available early in boot process
Also temporarily disable plymouth.
This commit is contained in:
parent
e1892bedb3
commit
2d60495a40
|
@ -21,7 +21,7 @@
|
|||
};
|
||||
|
||||
# Being fancy. Other people have already taken care of all the tough setting-up parts :)
|
||||
boot.plymouth.enable = true;
|
||||
# boot.plymouth.enable = true;
|
||||
|
||||
# Most valuable directories (.e.g /home, /gnu, /nix) are persisted using ZFS datasets.
|
||||
# Impermanence is used to deal with state files.
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
{ config, ... }: {
|
||||
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
|
||||
boot.initrd.kernelModules = [ "amdgpu" ];
|
||||
boot.initrd.supportedFilesystems = [ "zfs" ];
|
||||
|
||||
boot.kernelModules = [ "kvm-amd" ];
|
||||
boot.supportedFilesystems = [ "zfs" ];
|
||||
boot.kernelParams = [ "amd_pstate=active" ];
|
||||
boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
|
||||
|
||||
# Use the systemd-boot EFI boot loader.
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
boot.loader.systemd-boot = {
|
||||
enable = true;
|
||||
consoleMode = "max";
|
||||
};
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
|
||||
# Necessary ~~evils~~ binary blobs
|
||||
# Ref: https://github.com/NixOS/nixos-hardware/tree/master/common/{cpu,gpu}/amd
|
||||
|
|
|
@ -27,6 +27,7 @@ in
|
|||
|
||||
gema = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "networkmanager" ];
|
||||
shell = pkgs.zsh;
|
||||
|
||||
hashedPasswordFile = secrets."users/gema/hashedPassword".path;
|
||||
|
|
Loading…
Reference in a new issue