dotfiles/configuration.nix
2015-12-21 00:52:34 +01:00

72 lines
1.6 KiB
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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 =
[ ./hardware-configuration.nix
./graphical.nix
];
# no, not that Ascanius.
networking.hostName = "ascanius";
# GOTTA GO FASTER
# this pulls in systemd-udevd-settle, which slows down boot
systemd.services.scsi-link-pm.enable = false;
# Set your time zone.
time.timeZone = "Europe/Amsterdam";
nixpkgs.config = {
allowUnfree = true;
packageOverrides = pkgs : {
bluez = pkgs.bluez5;
};
};
# List packages installed in system profile. To search by name, run:
# $ nix-env -qaP | grep wget
environment.systemPackages = with pkgs; [
(texLiveAggregationFun { paths = [ texLive texLiveExtra texLiveBeamer lmodern ]; })
atool
bc
git
hdparm
htop
lm_sensors
mtr
ncdu
sl # v important.
smartmontools
unzip zip
wget
];
virtualisation.virtualbox.host.enable = true;
nix.binaryCachePublicKeys = ["hydra.nixos.org-1:CNHJZBh9K4tP3EKF6FkkgeVYsS3ohTl+oS0Qa8bezVs=" ];
# TODO: cups.
# Define a user account. Don't forget to set a password with passwd.
users.extraUsers.yorick = {
isNormalUser = true;
uid = 1000;
extraGroups = ["wheel"];
};
# not using ipv6 for now
networking.enableIPv6 = false;
nix.binaryCaches = [
https://hydra.nixos.org
];
nix.trustedBinaryCaches = config.nix.binaryCaches;
}