swapped to overide instead of import

This commit is contained in:
Steven 2023-03-25 22:41:42 -04:00
parent 5f0601d914
commit 397b37c0e9

View file

@ -5,7 +5,7 @@
{
imports = [
../disko/luks-lvm.nix
# ../disko/luks-lvm.nix
(modulesPath + "/installer/scan/not-detected.nix")
];
@ -34,9 +34,10 @@
};
};
};
# disko.devices = pkgs.callPackage ../disko/luks-lvm.nix {
# disks = [ "/dev/nvme0n1" ]; # replace this with your disk name i.e. /dev/nvme0n1
# };
disko.devices = import ../disko/luks-lvm.nix {
lib = nixpkgs.lib;
disks = [ "/dev/nvme0n1" ]; # replace this with your disk name i.e. /dev/nvme0n1
};
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction