2021-11-20 07:18:18 +01:00
|
|
|
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
|
|
|
|
# and may be overwritten by future invocations. Please make changes
|
|
|
|
|
# to /etc/nixos/configuration.nix instead.
|
2021-09-27 14:55:55 +02:00
|
|
|
|
{ config, lib, pkgs, modulesPath, ... }:
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
imports =
|
|
|
|
|
[ (modulesPath + "/profiles/qemu-guest.nix")
|
|
|
|
|
(modulesPath + "/profiles/minimal.nix")
|
|
|
|
|
];
|
|
|
|
|
|
2021-11-20 07:18:18 +01:00
|
|
|
|
boot.initrd.availableKernelModules = [ "ata_piix" "virtio_pci" "virtio_scsi" "xhci_pci" "sd_mod" "sr_mod" ];
|
2021-09-27 14:55:55 +02:00
|
|
|
|
boot.initrd.kernelModules = [ ];
|
|
|
|
|
boot.kernelModules = [ ];
|
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
|
|
|
|
|
fileSystems."/" =
|
|
|
|
|
{ device = "rpool/safe/root";
|
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/home" =
|
|
|
|
|
{ device = "rpool/safe/home";
|
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
|
|
|
|
|
2021-11-20 07:18:18 +01:00
|
|
|
|
fileSystems."/var" =
|
|
|
|
|
{ device = "rpool/safe/var";
|
2021-09-27 14:55:55 +02:00
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
|
|
|
|
|
2021-11-20 07:18:18 +01:00
|
|
|
|
fileSystems."/nix" =
|
|
|
|
|
{ device = "rpool/local/nix";
|
2021-09-27 14:55:55 +02:00
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
swapDevices =
|
2021-11-20 07:18:18 +01:00
|
|
|
|
[ { device = "/dev/disk/by-uuid/9c3c66f5-bf5a-4a2a-88a2-fc2ef312d7ef"; }
|
2021-09-27 14:55:55 +02:00
|
|
|
|
];
|
2021-11-20 07:18:18 +01:00
|
|
|
|
|
2021-09-27 14:55:55 +02:00
|
|
|
|
}
|