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.
|
2018-02-25 21:29:39 +01:00
|
|
|
system.stateVersion = "17.09";
|
|
|
|
#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-03-13 23:53:23 +01:00
|
|
|
virtualisation.virtualbox.host.enable = pkgs.lib.mkOverride 30 false;
|
2016-12-08 15:31:45 +01:00
|
|
|
}
|