mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 08:53:56 -05:00
updated boot settings
update pre-commit hook
This commit is contained in:
parent
4b19b9f711
commit
c8d102b945
6 changed files with 10 additions and 47 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{disko, ...}: {...}: {
|
||||
{disko, ...}: _: {
|
||||
imports = [disko.nixosModules.disko];
|
||||
disko.devices = {
|
||||
disk = {
|
||||
|
|
|
|||
|
|
@ -149,7 +149,6 @@
|
|||
boot = {
|
||||
kernelModules = ["amdgpu"];
|
||||
initrd = {
|
||||
systemd.enable = true;
|
||||
availableKernelModules = ["nvme" "xhci_pci" "ahci" "usbhid" "sd_mod"];
|
||||
includeDefaultModules = false;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -47,9 +47,11 @@ _: {
|
|||
generationsDir.copyKernels = true;
|
||||
#override default
|
||||
systemd-boot.enable = false;
|
||||
efi.canTouchEfiVariables = false;
|
||||
grub = {
|
||||
enable = true;
|
||||
copyKernels = true;
|
||||
efiInstallAsRemovable = true;
|
||||
efiSupport = true;
|
||||
mirroredBoots = [
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue