update
This commit is contained in:
parent
31637568e2
commit
ac505934cf
6 changed files with 135 additions and 212 deletions
|
|
@ -1,9 +1,9 @@
|
|||
{ disks ? [ "/dev/vda" ], ... }: {
|
||||
{ ... }: {
|
||||
disko.devices = {
|
||||
disk = {
|
||||
vda = {
|
||||
type = "disk";
|
||||
device = builtins.elemAt disks 0;
|
||||
device = "/dev/vda";
|
||||
content = {
|
||||
type = "table";
|
||||
format = "gpt";
|
||||
|
|
@ -53,8 +53,8 @@
|
|||
lvm_vg = {
|
||||
pool = {
|
||||
type = "lvm_vg";
|
||||
nix = {
|
||||
persistent = {
|
||||
lvs = {
|
||||
nix = {
|
||||
size = "100%";
|
||||
content = {
|
||||
type = "filesystem";
|
||||
|
|
|
|||
|
|
@ -6,11 +6,8 @@ let
|
|||
pubkeys = import ../../data/pubkeys.nix;
|
||||
in
|
||||
{
|
||||
imports = [ "${modulesPath}/profiles/qemu-guest.nix" inputs.disko.nixosModules.disko ];
|
||||
imports = [ "${modulesPath}/profiles/qemu-guest.nix" inputs.disko.nixosModules.disko ./disk-config.nix ];
|
||||
boot.initrd.luks.devices."cryptroot".device = "/dev/disk/by-uuid/d2cb12f8-67e3-4725-86c3-0b5c7ebee3a6";
|
||||
disko.devices = import ./disk-config.nix {
|
||||
inherit lib;
|
||||
};
|
||||
|
||||
boot.initrd = {
|
||||
network = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue