Skip to content

Commit

Permalink
Test out NixOS/nixpkgs#282022 again
Browse files Browse the repository at this point in the history
  • Loading branch information
philiptaron committed Mar 3, 2024
1 parent 40ea4e3 commit 81f6853
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 17 deletions.
18 changes: 7 additions & 11 deletions boot.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,14 @@ in
managerEnvironment = {
SYSTEMD_LOG_LEVEL = "debug";
};

# Test out nixos/nixpkgs#282022
root = "gpt-auto";
};

boot.initrd.supportedFilesystems = ["ext4"];
boot.initrd.availableKernelModules = [
"ahci"
"efivarfs"
"nvme"
"sd_mod"
"usb_storage"
Expand All @@ -49,16 +52,9 @@ in
# No software RAID in this system.
boot.swraid.enable = false;

fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/d5a0f038-5839-44e1-ad49-5edd00d7f81e";
fsType = "ext4";
};

"/boot" = {
device = "/dev/disk/by-uuid/0D2C-FF36";
fsType = "vfat";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/0D2C-FF36";
fsType = "vfat";
};

# No swap devices in this system (maybe a bad call.)
Expand Down
11 changes: 6 additions & 5 deletions flake.lock

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

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
nixConfig.commit-lockfile-summary = "flake.nix: update the lockfile";

inputs = {
nixpkgs.url = "github:nixos/nixpkgs";
nixpkgs.url = "github:elvishjerricco/nixpkgs/gpt-auto-root";

# Empty flake for making complex flake dependencies stop dead.
empty.url = "path:./empty.nix";
Expand Down

0 comments on commit 81f6853

Please sign in to comment.