1
Fork 0

Add default value for disks argument

This commit is contained in:
Matei Adriel 2024-01-17 08:39:14 +01:00
parent a67ff67ada
commit e06273255b
No known key found for this signature in database
2 changed files with 2 additions and 4 deletions

View file

@ -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

View file

@ -1,4 +1,4 @@
{ disks, ... }: {
{ disks ? [ "/dev/sda" ], ... }: {
disko.devices = {
# {{{ Disks
disk = {