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’).
|
|
|
|
|
|
|
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
imports =
|
|
|
|
|
[ # Include the results of the hardware scan.
|
|
|
|
|
./hardware-configuration.nix
|
|
|
|
|
../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";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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;
|
|
|
|
|
|
2016-12-08 15:31:45 +01:00
|
|
|
|
}
|