Skip to content

Commit

Permalink
fixing flake
Browse files Browse the repository at this point in the history
  • Loading branch information
sstent committed Nov 17, 2023
1 parent 820c6c1 commit 12c16b4
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
imports = [
#./sd-image.nix
# ./default.nix
./kboot-conf
#./kboot-conf
# "${nixpkgs}/nixos/modules/installer/sd-card/sd-image-aarch64-installer.nix"
"${nixpkgs}/nixos/modules/installer/sd-card/sd-image-aarch64.nix"

Expand All @@ -48,18 +48,18 @@
# in ''
# cp ${configTxt} firmware/README
# '';
populateRootCommands = ''
${config.boot.loader.kboot-conf.populateCmd} -c ${config.system.build.toplevel} -d ./files/kboot.conf
'';
# populateRootCommands = ''
# ${config.boot.loader.kboot-conf.populateCmd} -c ${config.system.build.toplevel} -d ./files/kboot.conf
# '';
};

boot.loader.grub.enable = false;
boot.loader.kboot-conf.enable = true;
boot.kernelParams = [ "console=ttyAML0,115200n8" ];
boot.consoleLogLevel = 7;
#boot.loader.grub.enable = false;
#boot.loader.kboot-conf.enable = true;
#boot.kernelParams = [ "console=ttyAML0,115200n8" ];
#boot.consoleLogLevel = 7;
# need latest kernel for the n2+ device tree blob
#boot.kernelPackages = pkgs.linuxPackages_latest;
boot.kernelPackages = lib.mkForce config.boot.zfs.package.latestCompatibleLinuxPackages;
#boot.kernelPackages = lib.mkForce config.boot.zfs.package.latestCompatibleLinuxPackages;



Expand Down

0 comments on commit 12c16b4

Please sign in to comment.