nixos/config/hosts/capetillo/hardware-configuration.nix

43 lines
969 B
Nix
Raw Normal View History

2021-11-22 14:12:43 +00: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.
{ config, lib, pkgs, modulesPath, ... }:
{
2021-11-22 14:12:43 +00:00
imports =
[ (modulesPath + "/profiles/qemu-guest.nix")
(modulesPath + "/profiles/minimal.nix")
];
2021-11-22 14:12:43 +00:00
boot.initrd.availableKernelModules = [ "ata_piix" "virtio_pci" "virtio_scsi" "xhci_pci" "sd_mod" "sr_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
2021-11-22 14:12:43 +00:00
fileSystems."/" =
{ device = "rpool/safe/root";
fsType = "zfs";
};
2021-11-22 14:12:43 +00:00
fileSystems."/home" =
{ device = "rpool/safe/home";
fsType = "zfs";
};
2021-11-22 14:12:43 +00:00
fileSystems."/var/www" =
{ device = "rpool/safe/webroot";
fsType = "zfs";
};
fileSystems."/var/vmail" =
{ device = "rpool/safe/mail";
fsType = "zfs";
};
fileSystems."/nix" =
{ device = "rpool/local/nix";
fsType = "zfs";
};
2021-11-22 14:12:43 +00:00
swapDevices = [ ];
}