swapped to overide instead of import
This commit is contained in:
parent
5f0601d914
commit
397b37c0e9
1 changed files with 5 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue