dotfiles/ascanius/configuration.nix

41 lines
1,014 B
Nix
Raw Normal View History

2016-01-28 02:59:31 +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, ... }:
let secrets = import <secrets>;
in
{
imports =
[ ./hardware-configuration.nix
../roles/common.nix
../roles/graphical.nix
];
# no, not that Ascanius.
networking.hostName = secrets.hostnames.ascanius;
# GOTTA GO FASTER
# this pulls in systemd-udevd-settle, which slows down boot
systemd.services.scsi-link-pm.enable = false;
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; [
2016-04-12 16:48:36 +02:00
btrfs-progs ghostscript
2016-01-28 02:59:31 +01:00
];
virtualisation.virtualbox.host.enable = true;
users.extraUsers.yorick.hashedPassword = secrets.yorick_hashedPassword;
2016-07-29 19:03:54 +02:00
2016-01-28 02:59:31 +01:00
}