Skip to content

Commit

Permalink
update to latest working nixpkgs and fix bug where sdcard boot would …
Browse files Browse the repository at this point in the history
…not work
  • Loading branch information
rcambrj committed Jan 21, 2025
1 parent 34989d9 commit 7ea86da
Show file tree
Hide file tree
Showing 4 changed files with 693 additions and 8 deletions.
8 changes: 4 additions & 4 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@

# Add all your dependencies here
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs?ref=nixos-unstable";
# pin nixpkgs https://github.com/NixOS/nixpkgs/pull/362081#issuecomment-2596822330
nixpkgs.url = "github:NixOS/nixpkgs?ref=7cf092925906d588daabc696d663c100f2bbacc6";
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
blueprint.url = "github:numtide/blueprint";
blueprint.inputs.nixpkgs.follows = "nixpkgs";
Expand Down
6 changes: 3 additions & 3 deletions modules/nixos/host-common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
enable = true;
};

system.build.image = (import "${toString modulesPath}/../lib/make-disk-image.nix" {
system.build.image = (import ./make-disk-image.nix {
inherit lib config pkgs;
format = "raw";
partitionTableType = "efi";
partitionTableType = "legacy+boot";
copyChannel = false;
diskSize = "auto";
additionalSpace = "64M";
Expand All @@ -34,7 +34,7 @@

fileSystems = {
"/boot" = {
device = "/dev/disk/by-label/ESP";
device = "/dev/disk/by-label/BOOT";
fsType = "vfat";
};
"/" = {
Expand Down
Loading

0 comments on commit 7ea86da

Please sign in to comment.