galleria disk uuid

This commit is contained in:
2026-08-02 18:28:13 +09:00
parent 176cd60d68
commit 4a7516939c
3 changed files with 3 additions and 12 deletions
-5
View File
@@ -1,5 +0,0 @@
{
# Replace both values after creating the two dedicated NixOS partitions.
espPartUuid = "008b04ef-9c06-4049-bffb-3906f5c3a9c1";
nixosPartUuid = "04295552-cbb8-4511-ac1e-1171ec20f8d1";
}
+2 -3
View File
@@ -1,8 +1,7 @@
_:
let
diskIdentifiers = import ./disk-identifiers.nix;
espPart = "/dev/disk/by-partuuid/${diskIdentifiers.espPartUuid}";
nixosPart = "/dev/disk/by-partuuid/${diskIdentifiers.nixosPartUuid}";
espPart = "/dev/disk/by-partuuid/008b04ef-9c06-4049-bffb-3906f5c3a9c1";
nixosPart = "/dev/disk/by-partuuid/04295552-cbb8-4511-ac1e-1171ec20f8d1";
btrfsMountOptions = [
"compress=zstd"
+1 -4
View File
@@ -1,7 +1,4 @@
{ inputs, pkgs, ... }:
let
diskIdentifiers = import ./disk-identifiers.nix;
in
{
imports = [
./hardware-configuration.nix
@@ -9,7 +6,7 @@ in
];
boot.initrd.luks.devices.cryptroot.device =
"/dev/disk/by-partuuid/${diskIdentifiers.nixosPartUuid}";
"/dev/disk/by-partuuid/04295552-cbb8-4511-ac1e-1171ec20f8d1";
environment.systemPackages = with inputs.browser-previews.packages.${pkgs.system}; [
google-chrome-beta