From 2e211aba6a7dfbab5cc190864fd5b74ba736e4f9 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 7 Jun 2015 12:50:21 +0200 Subject: initial work on bragi --- bragi-hw.nix | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 bragi-hw.nix (limited to 'bragi-hw.nix') diff --git a/bragi-hw.nix b/bragi-hw.nix new file mode 100644 index 00000000..6a14ff09 --- /dev/null +++ b/bragi-hw.nix @@ -0,0 +1,27 @@ +{ config, lib, pkgs, ... }: + +{ + imports = + [ + ]; + + boot.initrd.availableKernelModules = [ "ahci" "ohci_pci" "ehci_pci" "usb_storage" ]; + boot.kernelModules = [ "kvm-amd" ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = + { device = "/dev/disk/by-uuid/15fc072d-5fdf-4ec7-b029-50d09b4dc5ea"; + fsType = "ext4"; + }; + + fileSystems."/home" = + { device = "/dev/disk/by-uuid/c76d9b7c-ba84-49d3-a7c9-b53e201b76c6"; + fsType = "ext4"; + }; + + swapDevices = + [ { device = "/dev/disk/by-uuid/2b13b997-59e8-4f59-bc84-554eb0df7482"; } + ]; + + nix.maxJobs = 2; +} -- cgit v1.2.3