From 88936f9175539b8e54c0721d1c8203f3eb5cb1d3 Mon Sep 17 00:00:00 2001 From: Matei Adriel Date: Tue, 18 Jul 2023 14:04:04 +0300 Subject: [PATCH] Fxied wrong disko arg --- hosts/nixos/lapetus/default.nix | 2 +- hosts/nixos/lapetus/partitions.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/nixos/lapetus/default.nix b/hosts/nixos/lapetus/default.nix index affb81d..5bafc5b 100644 --- a/hosts/nixos/lapetus/default.nix +++ b/hosts/nixos/lapetus/default.nix @@ -2,7 +2,7 @@ let device = "/dev/sda"; disko = import ./partitions.nix { - devices = [ device ]; + disks = [ device ]; }; in { diff --git a/hosts/nixos/lapetus/partitions.nix b/hosts/nixos/lapetus/partitions.nix index 764a951..540e8f8 100644 --- a/hosts/nixos/lapetus/partitions.nix +++ b/hosts/nixos/lapetus/partitions.nix @@ -1,4 +1,4 @@ -{ disks ? [ "/dev/vdb" ], ... }: { +{ disks, ... }: { disko.devices = { # {{{ Disks disk = {