Replies: 3 comments
-
Sounds promising! I don't think, the LUKS is the problem. The screen still turn off after a few seconds - already in stage 1. bootloader.nix
configuration.nix
hardware-configuration.nix:# Do not modify this file! It was generated by ‘nixos-generate-config’
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "nvme" "usb_storage" ];
boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
boot.initrd.luks.devices."root".device = "/dev/disk/by-uuid/8a9dbd7b-e0ff-45ea-9566-1b4b059f2fb4";
fileSystems."/" =
{ device = "/dev/disk/by-uuid/d458d32e-ee0b-4fa0-b787-5f191bb27d2a";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/A9AA-B34E";
fsType = "vfat";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/91c1c386-2751-4a5c-9467-7881013ff3d8"; }
];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.enx0826ae3df5a1.useDHCP = lib.mkDefault true;
# networking.interfaces.wlP6p1s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
} |
Beta Was this translation helpful? Give feedback.
-
No luck yet. I was trying to build an iso using https://github.com/nix-community/nixos-generators and it doesn't seem to want to boot it when I used Rufus to create a live USB. I'll look more as I get time |
Beta Was this translation helpful? Give feedback.
-
I finally made some time to mess with this these past few days. I have been able to successfully build the image and have it boot from USB. The latest commit on that branch uses |
Beta Was this translation helpful? Give feedback.
-
@foorschtbar
I am not using LUKS. I am working on a build which will be based on the latest linux kernel and am interested in seeing if there are any updates in the display area. I am currently running windows. Linux was unable to drive multiple external displays on this laptop. If it boots, I will create a branch based on the changes I have made. As I write this, the kernel is building and I will write back when I get something working. It's possible, your issues may be resolved as well. Are you able to share your configuration?
Beta Was this translation helpful? Give feedback.
All reactions