no diskoConfirations outputs
This commit is contained in:
parent
f5f1541aec
commit
d6f582fffd
7 changed files with 14 additions and 37 deletions
|
|
@ -1,12 +0,0 @@
|
|||
{ inputs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
inputs.disko.flakeModule
|
||||
];
|
||||
|
||||
flake.diskoConfigurations = {
|
||||
io.modules = [ ./disko/io.nix ];
|
||||
trantor.modules = [ ./disko/trantor.nix ];
|
||||
};
|
||||
}
|
||||
|
|
@ -62,7 +62,6 @@
|
|||
imports = [
|
||||
./deploy.nix
|
||||
./devShells.nix
|
||||
./diskoConfigurations.nix
|
||||
./homeConfigurations.nix
|
||||
./nixosConfigurations.nix
|
||||
./nixosModules.nix
|
||||
|
|
|
|||
|
|
@ -7,9 +7,7 @@
|
|||
}:
|
||||
|
||||
{
|
||||
imports = [
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
] ++ inputs.self.diskoConfigurations.io.modules;
|
||||
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
||||
|
||||
boot = {
|
||||
initrd = {
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
enable = true;
|
||||
rootDevice =
|
||||
if config.networking.hostName == "trantor" then
|
||||
"/dev/disk/by-id/scsi-36067d367fe184830a89bbe708c7b1066"
|
||||
"/dev/disk/by-id/scsi-360b207ed25d84372a95d1ecf842f8e20-part2"
|
||||
else
|
||||
"/dev/mapper/cryptroot";
|
||||
rootSubvolume = "@root";
|
||||
|
|
|
|||
|
|
@ -1,7 +1,11 @@
|
|||
{ inputs, ... }:
|
||||
|
||||
{
|
||||
imports = [ inputs.disko.nixosModules.default ];
|
||||
|
||||
disko.devices.disk.main = {
|
||||
type = "disk";
|
||||
device = "/dev/disk/by-id/scsi-36067d367fe184830a89bbe708c7b1066";
|
||||
device = "/dev/disk/by-id/scsi-360b207ed25d84372a95d1ecf842f8e20";
|
||||
content = {
|
||||
type = "gpt";
|
||||
partitions = {
|
||||
|
|
@ -1,30 +1,18 @@
|
|||
{
|
||||
lib,
|
||||
modulesPath,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports = [
|
||||
(modulesPath + "/profiles/qemu-guest.nix")
|
||||
inputs.disko.nixosModules.disko
|
||||
]
|
||||
++ inputs.self.diskoConfigurations.trantor.modules;
|
||||
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
|
||||
|
||||
boot = {
|
||||
kernelModules = [ ];
|
||||
extraModulePackages = [ ];
|
||||
initrd = {
|
||||
availableKernelModules = [
|
||||
boot.initrd.availableKernelModules = [
|
||||
"xhci_pci"
|
||||
"virtio_pci"
|
||||
"virtio_scsi"
|
||||
"usbhid"
|
||||
];
|
||||
kernelModules = [ ];
|
||||
};
|
||||
};
|
||||
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue