Fixed izanagi-main imports

This commit is contained in:
Alexander
2025-08-03 21:15:14 +02:00
parent 04e65f4939
commit ede8ce7dce
3 changed files with 5 additions and 62 deletions
+5 -3
View File
@@ -4,9 +4,11 @@ let
flakeInputs = lib.filterAttrs (_: lib.isType "flake") inputs; flakeInputs = lib.filterAttrs (_: lib.isType "flake") inputs;
in { in {
imports = imports =
[ # Include the results of the hardware scan. [
./hardware-configuration.nix ../../minimal.nix
./disko-config.nix
../hardware-configuration.nix
../disko-config.nix
./sops.nix ./sops.nix
]; ];
-31
View File
@@ -1,31 +0,0 @@
{
username,
...
}:
{
disko.devices = {
disk = {
main = {
device = "/dev/vda";
type = "disk";
content = {
type = "gpt";
partitions = {
boot = {
size = "1M";
type = "EF02"; # for grub MBR
};
root = {
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
};
};
};
};
};
};
}
@@ -1,28 +0,0 @@
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/profiles/qemu-guest.nix")
];
boot.initrd.availableKernelModules = [ "uhci_hcd" "ehci_pci" "ahci" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
# fileSystems."/" =
# { device = "/dev/disk/by-uuid/301d5990-7186-4a90-94aa-997044007358";
# fsType = "ext4";
# };
# swapDevices = [ ];
# 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
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.ens18.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
}