blob: ece8cebd596134586534874ef52f566e8f6085f3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
{ config, pkgs, lib, ... }:
{
imports = [ ./machine_common.nix ];
boot = {
loader = {
gummiboot = {
enable = true;
timeout = 2;
};
efi.canTouchEfiVariables = true;
};
initrd = {
availableKernelModules = [ "ehci_pci" "ahci" "usb_storage" ];
kernelModules = [ "fuse" ];
postDeviceCommands = ''
echo noop > /sys/block/sda/queue/scheduler
'';
};
kernelModules = [ "tp_smapi" ];
extraModulePackages = [ config.boot.kernelPackages.tp_smapi ];
};
fileSystems."/" = {
device = "/dev/disk/by-uuid/4788e218-db0f-4fd6-916e-e0c484906eb0";
fsType = "btrfs";
options = [
"autodefrag"
"space_cache"
"compress=lzo"
"noatime"
"ssd"
];
};
swapDevices = [ ];
nix = {
maxJobs = 4;
extraOptions = ''
auto-optimise-store = true
'';
};
i18n = {
consoleFont = "lat9w-16";
consoleKeyMap = "uk";
defaultLocale = "en_GB.UTF-8";
};
}
|