-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration.nix-nix-build
44 lines (31 loc) · 1004 Bytes
/
configuration.nix-nix-build
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
# -*- nix -*-
{ config, pkgs, lib, modulesPath, ... }:
{
imports = [
./profile/server.nix
./users/binarin.nix
./profile/emacs.nix
(modulesPath + "/profiles/qemu-guest.nix")
];
networking.hostName = "nix-build";
networking.hostId = "c6974a64";
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "sd_mod" "sr_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-label/nixos";
fsType = "ext4";
options = [ "noatime" "nodiratime" "discard" ];
};
swapDevices = [ ];
boot.loader.grub.enable = true;
boot.loader.grub.version = 2;
boot.loader.grub.device = "/dev/sda";
system.stateVersion = "20.09"; # Did you read the comment?
services.dbus.packages = with pkgs; [ gnome3.dconf ];
programs.emacs.package = pkgs.emacs-nox;
nix.maxJobs = lib.mkDefault 4;
nix.buildCores = 4;
virtualisation.docker.enable = true;
}