mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 03:48:12 +09:00
galleria disk uuid
This commit is contained in:
@@ -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";
|
||||
}
|
||||
@@ -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,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
|
||||
|
||||
Reference in New Issue
Block a user