2016-12-08 15:31:45 +01:00
|
|
|
|
# Edit this configuration file to define what should be installed on
|
|
|
|
|
# your system. Help is available in the configuration.nix(5) man page
|
|
|
|
|
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
|
|
|
|
|
2017-04-08 23:20:11 +02:00
|
|
|
|
{ config, pkgs, lib, ... }:
|
2016-12-08 15:31:45 +01:00
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
imports =
|
|
|
|
|
[ # Include the results of the hardware scan.
|
2017-02-02 17:22:03 +01:00
|
|
|
|
../physical/xps9360.nix
|
2016-12-08 15:31:45 +01:00
|
|
|
|
../roles/common.nix
|
2017-02-02 16:31:19 +01:00
|
|
|
|
../roles/workstation.nix
|
2016-12-08 15:31:45 +01:00
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
networking.hostName = "jarvis"; # Define your hostname.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# The NixOS release to be compatible with for stateful data such as databases.
|
|
|
|
|
system.stateVersion = "17.03";
|
2017-04-08 23:20:11 +02:00
|
|
|
|
networking.enableIPv6 = lib.mkOverride 30 true;
|
2016-12-08 15:31:45 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
services.xserver.displayManager.sessionCommands = ''
|
|
|
|
|
${pkgs.xorg.xrandr}/bin/xrandr --dpi 192
|
|
|
|
|
'';
|
2017-01-24 21:39:28 +01:00
|
|
|
|
nix.gc.automatic = pkgs.lib.mkOverride 30 false;
|
2017-03-13 23:53:23 +01:00
|
|
|
|
# nix.trustedBinaryCaches = [http://192.168.1.27:5000];
|
|
|
|
|
# nix.binaryCachePublicKeys = [
|
|
|
|
|
# "hydra.example.org-1:NbZfmBIhIevVM5OZ81TbwruSC9etkIrdi1mR6AAdm98="
|
|
|
|
|
# ];
|
|
|
|
|
virtualisation.virtualbox.host.enable = pkgs.lib.mkOverride 30 false;
|
2016-12-08 15:31:45 +01:00
|
|
|
|
}
|