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

@ -69,6 +69,10 @@ in {
};
home.sessionVariables = {
# TODO: find a way to prevent using a store path for the current file
# HM_CONFIG_PATH=builtins.toString "${./.}";
HM_CONFIG="fullblown-workstation";
GOPATH="$HOME/src/go";
PATH=pkgs.lib.concatStringsSep ":" [
@ -99,10 +103,7 @@ in {
# Version Control Systems
git-crypt
unstablepkgs.pijul
gitFull
gitless
mr
gitRepo
# Cloud/Remote System Management

View file

@ -56,6 +56,8 @@ in {
};
home.sessionVariables = {
HM_CONFIG=builtins.toString ./.;
GOPATH="$HOME/src/go";
PATH=pkgs.lib.concatStringsSep ":" [

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
];
};

View file

@ -2,6 +2,22 @@
{
# Package configuration
nixpkgs.config = {
allowBroken = false;
allowUnfree = true;
packageOverrides = pkgs: with pkgs; {
busyboxStatic = busybox.override {
enableStatic = true;
extraConfig = ''
CONFIG_STATIC y
CONFIG_INSTALL_APPLET_DONT y
CONFIG_INSTALL_APPLET_SYMLINKS n
'';
};
};
};
environment.systemPackages = with pkgs; [
elfutils
exfat
@ -16,9 +32,10 @@
wget
curl
git
gitFull
pastebinit
gist
mr
usbutils
pciutils

View file

@ -7,21 +7,5 @@
"${builtins.fetchGit { url = "https://github.com/rycee/home-manager.git"; ref = "master"; }}/nixos"
];
nixpkgs.config = {
allowBroken = false;
allowUnfree = true;
packageOverrides = pkgs: with pkgs; {
busyboxStatic = busybox.override {
enableStatic = true;
extraConfig = ''
CONFIG_STATIC y
CONFIG_INSTALL_APPLET_DONT y
CONFIG_INSTALL_APPLET_SYMLINKS n
'';
};
};
};
home-manager.users.steveej = import ../../../home-manager/configuration/removable-desktop.nix;
}