More movearounds and stuff idk anymore

This commit is contained in:
Jimbo 2024-11-05 05:49:14 -05:00
parent 9a30fae72f
commit 84d5732a32
13 changed files with 56 additions and 48 deletions

View file

@ -1,10 +1,10 @@
{ disko, ... }:
{ disko, config, ... }:
{
imports = [ disko.nixosModules.disko ];
disko.devices = {
disk = {
firefly = {
"${config.networking.hostName}" = {
type = "disk";
device = "/dev/nvme0n1";
content = {
@ -29,7 +29,7 @@
passwordFile = "/tmp/secret.key";
content = {
type = "lvm_pv";
vg = "firefly";
vg = "${config.networking.hostName}";
};
};
};
@ -39,7 +39,7 @@
};
lvm_vg = {
firefly = {
"${config.networking.hostName}" = {
type = "lvm_vg";
lvs = {
root = {