swapped to import instead of overide
This commit is contained in:
parent
9fc4567d14
commit
5f0601d914
1 changed files with 7 additions and 4 deletions
|
|
@ -4,7 +4,10 @@
|
|||
{ config, lib, pkgs, modulesPath, disko, ... }:
|
||||
|
||||
{
|
||||
imports = [(modulesPath + "/installer/scan/not-detected.nix")];
|
||||
imports = [
|
||||
../disko/luks-lvm.nix
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot = {
|
||||
initrd = {
|
||||
|
|
@ -31,9 +34,9 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
disko.devices = pkgs.callPackage ../disko/luks-lvm.nix {
|
||||
disks = [ "/dev/nvme0n1" ]; # replace this with your disk name i.e. /dev/nvme0n1
|
||||
};
|
||||
# disko.devices = pkgs.callPackage ../disko/luks-lvm.nix {
|
||||
# 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