mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 08:28:11 +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
|
let
|
||||||
diskIdentifiers = import ./disk-identifiers.nix;
|
espPart = "/dev/disk/by-partuuid/008b04ef-9c06-4049-bffb-3906f5c3a9c1";
|
||||||
espPart = "/dev/disk/by-partuuid/${diskIdentifiers.espPartUuid}";
|
nixosPart = "/dev/disk/by-partuuid/04295552-cbb8-4511-ac1e-1171ec20f8d1";
|
||||||
nixosPart = "/dev/disk/by-partuuid/${diskIdentifiers.nixosPartUuid}";
|
|
||||||
|
|
||||||
btrfsMountOptions = [
|
btrfsMountOptions = [
|
||||||
"compress=zstd"
|
"compress=zstd"
|
||||||
|
|||||||
@@ -1,7 +1,4 @@
|
|||||||
{ inputs, pkgs, ... }:
|
{ inputs, pkgs, ... }:
|
||||||
let
|
|
||||||
diskIdentifiers = import ./disk-identifiers.nix;
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
@@ -9,7 +6,7 @@ in
|
|||||||
];
|
];
|
||||||
|
|
||||||
boot.initrd.luks.devices.cryptroot.device =
|
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}; [
|
environment.systemPackages = with inputs.browser-previews.packages.${pkgs.system}; [
|
||||||
google-chrome-beta
|
google-chrome-beta
|
||||||
|
|||||||
Reference in New Issue
Block a user