Advertisement
Guest User

hareware-configuration.nix

a guest
Dec 6th, 2018
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. # Do not modify this file! It was generated by ‘nixos-generate-config’
  2. # and may be overwritten by future invocations. Please make changes
  3. # to /etc/nixos/configuration.nix instead.
  4. { config, lib, pkgs, ... }:
  5.  
  6. {
  7. imports =
  8. [ <nixpkgs/nixos/modules/profiles/qemu-guest.nix>
  9. ];
  10.  
  11. boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "sr_mod" "virtio_blk" ];
  12. boot.kernelModules = [ ];
  13. boot.extraModulePackages = [ ];
  14.  
  15. fileSystems."/" =
  16. { device = "rpool/root/nixos";
  17. fsType = "zfs";
  18. };
  19.  
  20. fileSystems."/home" =
  21. { device = "rpool/home";
  22. fsType = "zfs";
  23. };
  24.  
  25. fileSystems."/boot" =
  26. { device = "/dev/md127";
  27. fsType = "ext4";
  28. };
  29.  
  30. swapDevices = [ ];
  31.  
  32. nix.maxJobs = lib.mkDefault 2;
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement