Skip to content

Commit 94027c7

Browse files
author
Ben Smith
committed
Updating Hardware Configurations
1 parent 86ef57b commit 94027c7

File tree

2 files changed

+32
-1
lines changed

2 files changed

+32
-1
lines changed
+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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+
];
10+
11+
boot.initrd.availableKernelModules = [ "xhci_hcd" "ehci_pci" "ahci" "usb_storage" "usbhid" ];
12+
boot.kernelModules = [ "kvm-intel" ];
13+
boot.loader.gummiboot.enable = true;
14+
boot.loader.gummiboot.timeout = 2;
15+
boot.loader.efi.canTouchEfiVariables = true;
16+
boot.extraModulePackages = [ ];
17+
18+
fileSystems."/" =
19+
{ device = "/dev/disk/by-uuid/0bc7f5a2-c23f-4991-abab-eb241ebedc4a";
20+
fsType = "ext4";
21+
};
22+
23+
fileSystems."/boot" =
24+
{ device = "/dev/disk/by-uuid/C195-397E";
25+
fsType = "vfat";
26+
};
27+
28+
swapDevices = [ ];
29+
30+
nix.maxJobs = 8;
31+
}

nixos/macbook-hardware-configuration.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
options hid_apple fnmode=2
1919
'';
2020
boot.loader.gummiboot.enable = true;
21-
boot.loader.gummiboot.timeout = 10;
21+
boot.loader.gummiboot.timeout = 2;
2222
boot.loader.efi.canTouchEfiVariables = true;
2323

2424
fileSystems."/" =

0 commit comments

Comments
 (0)