From 5f0601d91429cfd387b73919d393aa5960aa7a90 Mon Sep 17 00:00:00 2001 From: Steven Date: Sat, 25 Mar 2023 22:30:18 -0400 Subject: [PATCH] swapped to import instead of overide --- .modules/base/framework.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.modules/base/framework.nix b/.modules/base/framework.nix index bcd9ca3..58ef8a5 100644 --- a/.modules/base/framework.nix +++ b/.modules/base/framework.nix @@ -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