-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfiguration.nix
47 lines (36 loc) · 1.04 KB
/
configuration.nix
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
# For help, see ‘man configuration.nix’ and ‘nixos-help’.
{ config, pkgs, ... }:
{
imports =
[ # symlink ./machines/HOSTNAME.nix
# sudo ln -sr /etc/nixos/machines/{HOSTNAME/default,self}.nix
./machines/self.nix
# shared
./environment
./programs
./services
./users
];
i18n = {
consoleKeyMap = "us";
defaultLocale = "en_US.UTF-8";
};
time.timeZone = "America/New_York";
virtualisation.docker.enable = true;
nixpkgs.config = {
allowUnfree = true;
packageOverrides = (import ./package-overrides);
};
fonts.fonts = [
pkgs.source-code-pro
pkgs.emacs-all-the-icons-fonts
];
nix.gc.automatic = true;
nix.gc.dates = "03:15";
system.autoUpgrade.enable = true;
# This value determines the NixOS release with which your system is to be
# compatible, in order to avoid breaking some software such as database
# servers. You should change this only after NixOS release notes say you
# should.
system.stateVersion = "17.09"; # Did you read the comment?
}