summaryrefslogtreecommitdiff
path: root/ymir/hw.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-06-02 02:11:28 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2016-06-02 02:11:28 +0200
commit9af39788be8d359239b238c49c60247bda9fd69d (patch)
tree50ef3fb235b5a5f2f55ac78601a1927eccea63fc /ymir/hw.nix
parent1af57675931369e3b1a7b908b18469fc14497be7 (diff)
downloadnixos-9af39788be8d359239b238c49c60247bda9fd69d.tar
nixos-9af39788be8d359239b238c49c60247bda9fd69d.tar.gz
nixos-9af39788be8d359239b238c49c60247bda9fd69d.tar.bz2
nixos-9af39788be8d359239b238c49c60247bda9fd69d.tar.xz
nixos-9af39788be8d359239b238c49c60247bda9fd69d.zip
mlmmj-expose
Diffstat (limited to 'ymir/hw.nix')
-rw-r--r--ymir/hw.nix39
1 files changed, 39 insertions, 0 deletions
diff --git a/ymir/hw.nix b/ymir/hw.nix
new file mode 100644
index 00000000..3ddf1035
--- /dev/null
+++ b/ymir/hw.nix
@@ -0,0 +1,39 @@
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/installer/scan/not-detected.nix>
9 <nixpkgs/nixos/modules/profiles/qemu-guest.nix>
10 ];
11
12 boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_blk" ];
13 boot.kernelModules = [ ];
14 boot.extraModulePackages = [ ];
15
16 fileSystems."/" =
17 {
18 device = "/dev/disk/by-label/ymir-root";
19 fsType = "ext4";
20 };
21
22 fileSystems."/boot" =
23 {
24 device = "/dev/disk/by-label/ymir-boot";
25 fsType = "ext2";
26 };
27
28 fileSystems."/home" =
29 {
30 device = "/dev/disk/by-label/ymir-home";
31 fsType = "ext4";
32 };
33
34 swapDevices =
35 [ { device = "/dev/disk/by-label/ymir-swap"; }
36 ];
37
38 nix.maxJobs = 2;
39}