nix config udpate; polish top-level Justfile

This commit is contained in:
steveej 2018-11-03 11:03:03 +01:00
parent 0e2f704aa3
commit 239c2c9c44
8 changed files with 81 additions and 37 deletions

View file

@ -1,6 +1,11 @@
{ ... }:
{
nixpkgs.config = {
allowBroken = false;
allowUnfree = true;
};
imports = [
../../profiles/common/configuration.nix
../../profiles/graphical/configuration.nix

View file

@ -5,9 +5,9 @@
}:
let
unstablepkgs = import <nixos-unstable> {};
unstablepkgs = import <nixos-unstable> { config = config.nixpkgs; };
in rec {
in {
# The NixOS release to be compatible with for stateful data such as databases.
# system.stateVersion = "unstable";
@ -19,6 +19,7 @@ in rec {
server=/tectonic-ci.de/192.168.124.1
server=/tectonic-ci.lan/192.168.124.1
'';
networking.firewall.enable = lib.mkForce false;
networking.firewall.checkReversePath = false;
networking.bridges."virbr1".interfaces = [];
@ -28,11 +29,11 @@ in rec {
services.printing = {
enable = true;
drivers = [
pkgs.hplip
unstablepkgs.cups-kyodialog3
unstablepkgs.mfcj6510dwlpr
unstablepkgs.mfcj6510dw-cupswrapper
drivers = with pkgs; [
hplip
cups-kyodialog3
mfcj6510dwlpr
mfcj6510dw-cupswrapper
];
};