diff --git a/hosts/nixos/lapetus/filesystems/default.nix b/hosts/nixos/lapetus/filesystems/default.nix index 32247d7..e7f434a 100644 --- a/hosts/nixos/lapetus/filesystems/default.nix +++ b/hosts/nixos/lapetus/filesystems/default.nix @@ -2,9 +2,7 @@ { imports = [ ./zfs.nix - (import ./partitions.nix { - disks = [ "/dev/sda" ]; - }) + (import ./partitions.nix { }) ]; # Mark a bunch of paths as needed for boot diff --git a/hosts/nixos/lapetus/filesystems/partitions.nix b/hosts/nixos/lapetus/filesystems/partitions.nix index bd5dff9..4950ba6 100644 --- a/hosts/nixos/lapetus/filesystems/partitions.nix +++ b/hosts/nixos/lapetus/filesystems/partitions.nix @@ -1,4 +1,4 @@ -{ disks, ... }: { +{ disks ? [ "/dev/sda" ], ... }: { disko.devices = { # {{{ Disks disk = {